Enum erg_parser::ast::DefKind
source · [−]pub enum DefKind {
Class,
Inherit,
Trait,
Subsume,
StructuralTrait,
Module,
Other,
}
Variants
Class
Inherit
Trait
Subsume
StructuralTrait
Module
Other
Implementations
Trait Implementations
impl Copy for DefKind
impl Eq for DefKind
impl StructuralEq for DefKind
impl StructuralPartialEq for DefKind
Auto Trait Implementations
impl RefUnwindSafe for DefKind
impl Send for DefKind
impl Sync for DefKind
impl Unpin for DefKind
impl UnwindSafe for DefKind
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