Enum som_interpreter_bc::class::MaybeWeak
source · pub enum MaybeWeak<A> {
Strong(SOMRef<A>),
Weak(SOMWeakRef<A>),
}
Expand description
A reference that may be either weak or owned/strong.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for MaybeWeak<A>
impl<A> !RefUnwindSafe for MaybeWeak<A>
impl<A> !Send for MaybeWeak<A>
impl<A> !Sync for MaybeWeak<A>
impl<A> Unpin for MaybeWeak<A>
impl<A> !UnwindSafe for MaybeWeak<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