pub enum DeclDef<'a> {
Space(Space, Row, Col),
Equals(Row, Col),
Type(&'a Type<'a>, Row, Col),
Arg(&'a Pattern<'a>, Row, Col),
Body(&'a Expr<'a>, Row, Col),
NameRepeat(Row, Col),
NameMatch(&'a str, Row, Col),
IndentType(Row, Col),
IndentEquals(Row, Col),
IndentBody(Row, Col),
}Variants§
Space(Space, Row, Col)
Equals(Row, Col)
Type(&'a Type<'a>, Row, Col)
Arg(&'a Pattern<'a>, Row, Col)
Body(&'a Expr<'a>, Row, Col)
NameRepeat(Row, Col)
NameMatch(&'a str, Row, Col)
IndentType(Row, Col)
IndentEquals(Row, Col)
IndentBody(Row, Col)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DeclDef<'a>
impl<'a> RefUnwindSafe for DeclDef<'a>
impl<'a> Send for DeclDef<'a>
impl<'a> Sync for DeclDef<'a>
impl<'a> Unpin for DeclDef<'a>
impl<'a> UnsafeUnpin for DeclDef<'a>
impl<'a> UnwindSafe for DeclDef<'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