Enum erg_compiler::context::ContextKind
source · pub enum ContextKind {
}
Variants§
Func
Proc
Class
MethodDefs(Option<Type>)
PatchMethodDefs(Type)
Trait
StructuralTrait
Patch(Type)
StructuralPatch(Type)
GluePatch(TraitImpl)
Module
Instant
Dummy
Implementations§
Trait Implementations§
source§impl Clone for ContextKind
impl Clone for ContextKind
source§fn clone(&self) -> ContextKind
fn clone(&self) -> ContextKind
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 ContextKind
impl Debug for ContextKind
source§impl Display for ContextKind
impl Display for ContextKind
source§impl From<DefKind> for ContextKind
impl From<DefKind> for ContextKind
source§impl Hash for ContextKind
impl Hash for ContextKind
source§impl PartialEq<ContextKind> for ContextKind
impl PartialEq<ContextKind> for ContextKind
source§fn 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 ==
.