pub struct Placeholder<Val> {
hash: u64,
idx: NonZeroU32,
state: RwLock<State>,
value: OnceLock<Val>,
}Fields§
§hash: u64§idx: NonZeroU32§state: RwLock<State>§value: OnceLock<Val>Trait Implementations§
Auto Trait Implementations§
impl<Val> !Freeze for Placeholder<Val>
impl<Val> RefUnwindSafe for Placeholder<Val>where
Val: RefUnwindSafe + UnwindSafe,
impl<Val> Send for Placeholder<Val>where
Val: Send,
impl<Val> Sync for Placeholder<Val>
impl<Val> Unpin for Placeholder<Val>where
Val: Unpin,
impl<Val> UnwindSafe for Placeholder<Val>where
Val: UnwindSafe,
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