Enum erg_compiler::context::ContextKind
source · [−]pub enum ContextKind {
Func,
Proc,
Class,
MethodDefs,
Trait,
StructuralTrait,
Patch(Type),
StructuralPatch(Type),
GluePatch(TraitInstance),
Module,
Instant,
Dummy,
}
Variants
Func
Proc
Class
MethodDefs
Trait
StructuralTrait
Patch(Type)
StructuralPatch(Type)
GluePatch(TraitInstance)
Module
Instant
Dummy
Implementations
Trait Implementations
sourceimpl Clone for ContextKind
impl Clone for ContextKind
sourcefn clone(&self) -> ContextKind
fn clone(&self) -> ContextKind
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 ContextKind
impl Debug for ContextKind
sourceimpl Hash for ContextKind
impl Hash for ContextKind
sourceimpl PartialEq<ContextKind> for ContextKind
impl PartialEq<ContextKind> for ContextKind
sourcefn eq(&self, other: &ContextKind) -> bool
fn eq(&self, other: &ContextKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ContextKind
impl StructuralEq for ContextKind
impl StructuralPartialEq for ContextKind
Auto Trait Implementations
impl !RefUnwindSafe for ContextKind
impl !Send for ContextKind
impl !Sync for ContextKind
impl Unpin for ContextKind
impl !UnwindSafe for ContextKind
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