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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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
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