pub struct ThunkData {
pub header: ObjectHeader,
pub state: ThunkState,
}Expand description
Data for a thunk (lazy value).
Fields§
§header: ObjectHeaderObject header.
state: ThunkStateCurrent thunk state.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ThunkData
impl RefUnwindSafe for ThunkData
impl Send for ThunkData
impl Sync for ThunkData
impl Unpin for ThunkData
impl UnsafeUnpin for ThunkData
impl UnwindSafe for ThunkData
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