pub enum ClassDecl<'tree> {
DataFamily(Box<DataFamily<'tree>>),
Decl(Box<Decl<'tree>>),
DefaultSignature(Box<DefaultSignature<'tree>>),
Fixity(Box<Fixity<'tree>>),
TypeFamily(Box<TypeFamily<'tree>>),
TypeInstance(Box<TypeInstance<'tree>>),
}Variants§
DataFamily(Box<DataFamily<'tree>>)
Decl(Box<Decl<'tree>>)
DefaultSignature(Box<DefaultSignature<'tree>>)
Fixity(Box<Fixity<'tree>>)
TypeFamily(Box<TypeFamily<'tree>>)
TypeInstance(Box<TypeInstance<'tree>>)
Trait Implementations§
impl<'tree> Eq for ClassDecl<'tree>
impl<'tree> StructuralPartialEq for ClassDecl<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ClassDecl<'tree>
impl<'tree> RefUnwindSafe for ClassDecl<'tree>
impl<'tree> Send for ClassDecl<'tree>
impl<'tree> Sync for ClassDecl<'tree>
impl<'tree> Unpin for ClassDecl<'tree>
impl<'tree> UnsafeUnpin for ClassDecl<'tree>
impl<'tree> UnwindSafe for ClassDecl<'tree>
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