Expand description
A reference counter that can be dynamically either strong or weak.
Variants
Strong(Strong)
A strong reference counter.
Weak(Weak)
A weak reference counter.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Either
impl Send for Either
impl Sync for Either
impl Unpin for Either
impl UnwindSafe for Either
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more