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(TypeRelationInstance)
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 more