pub enum DynObjKind {
ProgramObject,
Invokable,
GrammarRule,
Dictionary,
ClassModifier,
Other,
}Expand description
The kinds of object the compiler treats differently.
Variants§
ProgramObject
An object the program defines.
Invokable
An object that can be called like a function.
GrammarRule
A grammar production.
Dictionary
A dictionary.
ClassModifier
An object that holds what the program adds to a built-in class.
Other
Any other.
Trait Implementations§
Source§impl Clone for DynObjKind
impl Clone for DynObjKind
impl Copy for DynObjKind
Source§impl Debug for DynObjKind
impl Debug for DynObjKind
impl Eq for DynObjKind
Source§impl PartialEq for DynObjKind
impl PartialEq for DynObjKind
impl StructuralPartialEq for DynObjKind
Auto Trait Implementations§
impl Forget for DynObjKind
impl Freeze for DynObjKind
impl Move for DynObjKind
impl RefUnwindSafe for DynObjKind
impl Send for DynObjKind
impl Sync for DynObjKind
impl Unpin for DynObjKind
impl UnsafeUnpin for DynObjKind
impl UnwindSafe for DynObjKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.