pub struct Lazy<T> { /* private fields */ }
👎 Deprecated since 2.16:
Please regenerate .rs files from .proto files to use newer APIs
Expand description
Lasily initialized data.
Implementations
sourceimpl<T> Lazy<T>
impl<T> Lazy<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Lazy<T> where
T: RefUnwindSafe,
impl<T> !Send for Lazy<T>
impl<T> !Sync for Lazy<T>
impl<T> Unpin for Lazy<T>
impl<T> UnwindSafe for Lazy<T> where
T: RefUnwindSafe,
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