Trait enso_flexer::prelude::WeakRef [−][src]
pub trait WeakRef: CloneRef { type StrongRef: StrongRef; fn upgrade(&self) -> Option<Self::StrongRef>; }
Expand description
Abstraction for a weak reference like Weak
or newtypes over it.
Associated Types
Loading content...Required methods
fn upgrade(&self) -> Option<Self::StrongRef>
[src]
Expand description
Attempts to upgrade the weak referenc to a strong one, delaying dropping of the inner value if successful.
Implementors
Loading content...