Enum sn0int_std::lazy::Lazy
source · pub enum Lazy<T1, T2> {
Init(Option<T1>),
Active(T2),
}
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T1, T2> RefUnwindSafe for Lazy<T1, T2>where T1: RefUnwindSafe, T2: RefUnwindSafe,
impl<T1, T2> Send for Lazy<T1, T2>where T1: Send, T2: Send,
impl<T1, T2> Sync for Lazy<T1, T2>where T1: Sync, T2: Sync,
impl<T1, T2> Unpin for Lazy<T1, T2>where T1: Unpin, T2: Unpin,
impl<T1, T2> UnwindSafe for Lazy<T1, T2>where T1: UnwindSafe, T2: UnwindSafe,
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
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