Struct std::sys_common::lazy_box::LazyBox
source · pub(crate) struct LazyBox<T: LazyInit> {
ptr: AtomicPtr<T>,
_phantom: PhantomData<T>,
}
Fields§
§ptr: AtomicPtr<T>
§_phantom: PhantomData<T>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for LazyBox<T>where T: RefUnwindSafe,
impl<T> Send for LazyBox<T>where T: Send,
impl<T> Sync for LazyBox<T>where T: Sync,
impl<T> Unpin for LazyBox<T>where T: Unpin,
impl<T> UnwindSafe for LazyBox<T>where T: UnwindSafe + RefUnwindSafe,
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