pub enum Decl<'a> {
Start(Row, Col),
Space(Space, Row, Col),
Port(&'a Port<'a>, Row, Col),
Type(&'a DeclType<'a>, Row, Col),
Def(&'a str, &'a DeclDef<'a>, Row, Col),
FreshLineAfterDocComment(Row, Col),
}Variants§
Start(Row, Col)
Space(Space, Row, Col)
Port(&'a Port<'a>, Row, Col)
Type(&'a DeclType<'a>, Row, Col)
Def(&'a str, &'a DeclDef<'a>, Row, Col)
FreshLineAfterDocComment(Row, Col)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Decl<'a>
impl<'a> RefUnwindSafe for Decl<'a>
impl<'a> Send for Decl<'a>
impl<'a> Sync for Decl<'a>
impl<'a> Unpin for Decl<'a>
impl<'a> UnsafeUnpin for Decl<'a>
impl<'a> UnwindSafe for Decl<'a>
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