pub struct Lazy<T, F = fn() -> T> { /* private fields */ }
Expand description
Implementations
Trait Implementations
Auto Trait Implementations
impl<T, F = fn() -> T> !RefUnwindSafe for Lazy<T, F>
impl<T, F> Send for Lazy<T, F> where
F: Send,
T: Send,
impl<T, F = fn() -> T> !Sync for Lazy<T, F>
impl<T, F> Unpin for Lazy<T, F> where
F: Unpin,
T: Unpin,
impl<T, F> UnwindSafe for Lazy<T, F> where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more