Enum erg_compiler::ownercheck::WrapperKind
source · [−]pub enum WrapperKind {
Ref,
Rc,
Box,
}
Variants
Ref
Rc
Box
Trait Implementations
sourceimpl Clone for WrapperKind
impl Clone for WrapperKind
sourcefn clone(&self) -> WrapperKind
fn clone(&self) -> WrapperKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WrapperKind
impl Debug for WrapperKind
sourceimpl Hash for WrapperKind
impl Hash for WrapperKind
sourceimpl PartialEq<WrapperKind> for WrapperKind
impl PartialEq<WrapperKind> for WrapperKind
sourcefn 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 ==
. Read more
impl Copy for WrapperKind
impl Eq for WrapperKind
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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