#[repr(C)]pub struct SharedMeta { /* private fields */ }Trait Implementations§
Source§fn is_unique(&self) -> bool
fn is_unique(&self) -> bool
Returns true if this instance is the last one before final release of resources
Source§fn drop(&self) -> bool
fn drop(&self) -> bool
Decrement reference counters and return true if storage should be deallocated
Source§fn try_into_other<T: ?Sized>(
&self,
inner: *mut FlexRcInner<LocalMeta, SharedMeta, T>,
) -> Result<*mut FlexRcInner<SharedMeta, LocalMeta, T>, *mut FlexRcInner<LocalMeta, SharedMeta, T>>
fn try_into_other<T: ?Sized>( &self, inner: *mut FlexRcInner<LocalMeta, SharedMeta, T>, ) -> Result<*mut FlexRcInner<SharedMeta, LocalMeta, T>, *mut FlexRcInner<LocalMeta, SharedMeta, T>>
Attempts to converts one inner type into another while consuming the other
Source§fn try_to_other<T: ?Sized>(
&self,
inner: *mut FlexRcInner<LocalMeta, SharedMeta, T>,
) -> Result<*mut FlexRcInner<SharedMeta, LocalMeta, T>, *mut FlexRcInner<LocalMeta, SharedMeta, T>>
fn try_to_other<T: ?Sized>( &self, inner: *mut FlexRcInner<LocalMeta, SharedMeta, T>, ) -> Result<*mut FlexRcInner<SharedMeta, LocalMeta, T>, *mut FlexRcInner<LocalMeta, SharedMeta, T>>
Attempts to converts one inner type into another but NOT consuming the other
Source§fn is_unique(&self) -> bool
fn is_unique(&self) -> bool
Returns true if this instance is the last one before final release of resources
Source§fn drop(&self) -> bool
fn drop(&self) -> bool
Decrement reference counters and return true if storage should be deallocated
Source§fn try_into_other<T: ?Sized>(
&self,
inner: *mut FlexRcInner<SharedMeta, LocalMeta, T>,
) -> Result<*mut FlexRcInner<LocalMeta, SharedMeta, T>, *mut FlexRcInner<SharedMeta, LocalMeta, T>>
fn try_into_other<T: ?Sized>( &self, inner: *mut FlexRcInner<SharedMeta, LocalMeta, T>, ) -> Result<*mut FlexRcInner<LocalMeta, SharedMeta, T>, *mut FlexRcInner<SharedMeta, LocalMeta, T>>
Attempts to converts one inner type into another while consuming the other
Source§fn try_to_other<T: ?Sized>(
&self,
inner: *mut FlexRcInner<SharedMeta, LocalMeta, T>,
) -> Result<*mut FlexRcInner<LocalMeta, SharedMeta, T>, *mut FlexRcInner<SharedMeta, LocalMeta, T>>
fn try_to_other<T: ?Sized>( &self, inner: *mut FlexRcInner<SharedMeta, LocalMeta, T>, ) -> Result<*mut FlexRcInner<LocalMeta, SharedMeta, T>, *mut FlexRcInner<SharedMeta, LocalMeta, T>>
Attempts to converts one inner type into another but NOT consuming the other
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more