pub struct RcRefCellInner<'a, T> { /* private fields */ }Expand description
SAFETY: Within the standard library, RcBox uses repr(C) which guarantees we will always have the layout
strong: isize, weak: isize, value: T
For us, T -> RefCell
Auto Trait Implementations§
impl<'a, T> !Freeze for RcRefCellInner<'a, T>
impl<'a, T> !RefUnwindSafe for RcRefCellInner<'a, T>
impl<'a, T> !Sync for RcRefCellInner<'a, T>
impl<'a, T> !UnwindSafe for RcRefCellInner<'a, T>
impl<'a, T> Send for RcRefCellInner<'a, T>
impl<'a, T> Unpin for RcRefCellInner<'a, T>
impl<'a, T> UnsafeUnpin for RcRefCellInner<'a, T>where
RefCell<T>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more