pub enum Decl<'tree> {
Bind(Box<Bind<'tree>>),
Function(Box<Function<'tree>>),
Signature(Box<Signature<'tree>>),
}Variants§
Trait Implementations§
impl<'tree> Eq for Decl<'tree>
impl<'tree> StructuralPartialEq for Decl<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Decl<'tree>
impl<'tree> RefUnwindSafe for Decl<'tree>
impl<'tree> Send for Decl<'tree>
impl<'tree> Sync for Decl<'tree>
impl<'tree> Unpin for Decl<'tree>
impl<'tree> UnsafeUnpin for Decl<'tree>
impl<'tree> UnwindSafe for Decl<'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