Enum erg_compiler::ownercheck::WrapperKind
source · pub enum WrapperKind {
Ref,
Rc,
Box,
}
Variants§
Trait Implementations§
source§impl Clone for WrapperKind
impl Clone for WrapperKind
source§fn clone(&self) -> WrapperKind
fn clone(&self) -> WrapperKind
Returns a copy 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 WrapperKind
impl Debug for WrapperKind
source§impl Hash for WrapperKind
impl Hash for WrapperKind
source§impl PartialEq for WrapperKind
impl PartialEq for WrapperKind
source§fn eq(&self, other: &WrapperKind) -> bool
fn eq(&self, other: &WrapperKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WrapperKind
impl Eq for WrapperKind
impl StructuralPartialEq for WrapperKind
Auto Trait Implementations§
impl RefUnwindSafe for WrapperKind
impl Send for WrapperKind
impl Sync for WrapperKind
impl Unpin for WrapperKind
impl UnwindSafe for WrapperKind
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