Trait supercow::NonSyncFeatures
[−]
[src]
pub trait NonSyncFeatures<'a>: 'a {
fn clone_boxed(&self) -> Box<NonSyncFeatures<'a> + 'a>;
fn self_address_mut(&mut self) -> *mut ();
}The shared reference type for NonSyncSupercow.
Unlike DefaultFeatures, this only requires the shared reference type
to be Clone, thus permitting Rc.
Required Methods
fn clone_boxed(&self) -> Box<NonSyncFeatures<'a> + 'a>
Clone this value, and then immediately put it into a Box
behind a trait object of this trait.
fn self_address_mut(&mut self) -> *mut ()
Returns the address of self.
This is used to disassemble trait objects of this trait without
resorting to transmuting or the unstable TraitObject type.