[−][src]Enum reffers::rmba::SlowRMBA
Slightly bigger and slower than RMBA, but same functionality. Mostly used just to verify correctness of the real RMBA.
Variants
Ref(&'a T)
RefMut(&'a mut T)
Box(Box<T>)
Arc(Arc<T>)
Methods
impl<'a, T: 'a + ?Sized> SlowRMBA<'a, T>
[src]
pub fn try_clone(&self) -> Option<SlowRMBA<'a, T>>
[src]
Will return a clone if it contains a Arc
pub fn get_mut(&mut self) -> Option<&mut T>
[src]
Will return a &mut to inner contents if it contains a &mut T, a Box
Trait Implementations
impl<'a, T: Debug + 'a + ?Sized> Debug for SlowRMBA<'a, T>
[src]
impl<'a, T: 'a + ?Sized> Deref for SlowRMBA<'a, T>
[src]
Auto Trait Implementations
impl<'a, T: ?Sized> Send for SlowRMBA<'a, T> where
T: Send + Sync,
T: Send + Sync,
impl<'a, T: ?Sized> Sync for SlowRMBA<'a, T> where
T: Send + Sync,
T: Send + Sync,
impl<'a, T: ?Sized> Unpin for SlowRMBA<'a, T>
impl<'a, T> !UnwindSafe for SlowRMBA<'a, T>
impl<'a, T: ?Sized> RefUnwindSafe for SlowRMBA<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Repr for T
[src]
type Store = T
fn convert(*mut T) -> *mut T
[src]
unsafe fn deallocate_mem<M>(&mut UnsafeCell<RCell<<T as Repr>::Store, M>>) where
M: BitMask,
[src]
M: BitMask,
impl<T> Repr for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,