Enum erg_compiler::context::ContextKind
source · [−]pub enum ContextKind {
Func,
Proc,
Tuple,
Record,
Class,
Trait,
StructuralTrait,
Patch,
StructuralPatch,
Module,
Instant,
Dummy,
}
Variants
Func
Proc
Tuple
Record
Class
Trait
StructuralTrait
Patch
StructuralPatch
Module
Instant
Dummy
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
impl Copy for ContextKind
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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