pub struct Wrap<T>(pub &'static OnceCell<T>)
where
T: 'static;Tuple Fields§
§0: &'static OnceCell<T>Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Wrap<T>
impl<T> !RefUnwindSafe for Wrap<T>
impl<T> Send for Wrap<T>
impl<T> Sync for Wrap<T>
impl<T> Unpin for Wrap<T>
impl<T> !UnwindSafe for Wrap<T>
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