pub struct LazyFieldWrapper<A>(pub Lazy<A, Box<dyn FnOnce() -> A + 'static>>);Tuple Fields§
§0: Lazy<A, Box<dyn FnOnce() -> A + 'static>>Trait Implementations§
Source§impl<A: DafnyPrint> DafnyPrint for LazyFieldWrapper<A>
impl<A: DafnyPrint> DafnyPrint for LazyFieldWrapper<A>
Source§impl<A: Default + 'static> Default for LazyFieldWrapper<A>
impl<A: Default + 'static> Default for LazyFieldWrapper<A>
Source§impl<A: PartialEq> PartialEq for LazyFieldWrapper<A>
impl<A: PartialEq> PartialEq for LazyFieldWrapper<A>
Auto Trait Implementations§
impl<A> !Freeze for LazyFieldWrapper<A>
impl<A> !RefUnwindSafe for LazyFieldWrapper<A>
impl<A> !Send for LazyFieldWrapper<A>
impl<A> !Sync for LazyFieldWrapper<A>
impl<A> Unpin for LazyFieldWrapper<A>where
A: Unpin,
impl<A> !UnwindSafe for LazyFieldWrapper<A>
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