pub struct PrivateCell<T>(T);
Expand description
Tuple Fields§
§0: T
Implementations§
Source§impl<T> PrivateCell<Cell<T>>
impl<T> PrivateCell<Cell<T>>
Trait Implementations§
Source§impl<T: Default> Default for PrivateCell<T>
impl<T: Default> Default for PrivateCell<T>
Source§fn default() -> PrivateCell<T>
fn default() -> PrivateCell<T>
Returns the “default value” for a type. Read more
impl<T: Send> Sync for PrivateCell<T>
Auto Trait Implementations§
impl<T> Freeze for PrivateCell<T>where
T: Freeze,
impl<T> RefUnwindSafe for PrivateCell<T>where
T: RefUnwindSafe,
impl<T> Send for PrivateCell<T>where
T: Send,
impl<T> Unpin for PrivateCell<T>where
T: Unpin,
impl<T> UnwindSafe for PrivateCell<T>where
T: UnwindSafe,
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