Struct once_self_cell::UnsyncOnceCell [−][src]
pub struct UnsyncOnceCell(_);
Trait Implementations
impl OnceCellCompatible<*mut u8> for UnsyncOnceCell
[src]
impl OnceCellCompatible<*mut u8> for UnsyncOnceCell
[src]fn new() -> Self
[src]
fn get(&self) -> Option<&DependentInner>
[src]
fn get_or_init<F>(&self, f: F) -> &DependentInner where
F: FnOnce() -> DependentInner,
[src]
F: FnOnce() -> DependentInner,
fn take(&mut self) -> Option<DependentInner>
[src]
Auto Trait Implementations
impl RefUnwindSafe for UnsyncOnceCell
impl RefUnwindSafe for UnsyncOnceCell
impl !Send for UnsyncOnceCell
impl !Send for UnsyncOnceCell
impl !Sync for UnsyncOnceCell
impl !Sync for UnsyncOnceCell
impl Unpin for UnsyncOnceCell
impl Unpin for UnsyncOnceCell
impl UnwindSafe for UnsyncOnceCell
impl UnwindSafe for UnsyncOnceCell