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<WrapperKind> for WrapperKind
impl PartialEq<WrapperKind> 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 ==
.