pub enum RcElimKind {
SkipInc,
SkipDec,
CancelPair,
}Expand description
Kind of RC elimination
Variants§
SkipInc
Remove an increment (the value is uniquely owned)
SkipDec
Remove a decrement (the value is still live)
CancelPair
Combine inc+dec into nothing
Trait Implementations§
Source§impl Clone for RcElimKind
impl Clone for RcElimKind
Source§fn clone(&self) -> RcElimKind
fn clone(&self) -> RcElimKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RcElimKind
impl Debug for RcElimKind
Source§impl PartialEq for RcElimKind
impl PartialEq for RcElimKind
impl Copy for RcElimKind
impl Eq for RcElimKind
impl StructuralPartialEq for RcElimKind
Auto Trait Implementations§
impl Freeze for RcElimKind
impl RefUnwindSafe for RcElimKind
impl Send for RcElimKind
impl Sync for RcElimKind
impl Unpin for RcElimKind
impl UnsafeUnpin for RcElimKind
impl UnwindSafe for RcElimKind
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