Enum fungi_lang::bitype::DeclRule
source · pub enum DeclRule {
UseAll(UseAllModuleDer),
NmTm(String, NmTmDer),
IdxTm(String, IdxTmDer),
Type(String, Type),
Val(String, ValDer),
Fn(String, ValDer),
}
Expand description
Module declaration typing rule
Variants
UseAll(UseAllModuleDer)
NmTm(String, NmTmDer)
IdxTm(String, IdxTmDer)
Type(String, Type)
Val(String, ValDer)
Fn(String, ValDer)
Trait Implementations
impl Eq for DeclRule
impl StructuralEq for DeclRule
impl StructuralPartialEq for DeclRule
Auto Trait Implementations
impl !RefUnwindSafe for DeclRule
impl !Send for DeclRule
impl !Sync for DeclRule
impl Unpin for DeclRule
impl !UnwindSafe for DeclRule
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