pub enum BodyItem<'a, 'f> {
Assert(Spanned<'f, Expr<'a, 'f>>),
Equation(Vec<Spanned<'f, LeftItem<'a, 'f>>>, Spanned<'f, Expr<'a, 'f>>),
}
Expand description
An item in the body of a node
Variants§
Assert(Spanned<'f, Expr<'a, 'f>>)
An assertion
Equation(Vec<Spanned<'f, LeftItem<'a, 'f>>>, Spanned<'f, Expr<'a, 'f>>)
An equation
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'f> Freeze for BodyItem<'a, 'f>
impl<'a, 'f> RefUnwindSafe for BodyItem<'a, 'f>
impl<'a, 'f> Send for BodyItem<'a, 'f>
impl<'a, 'f> Sync for BodyItem<'a, 'f>
impl<'a, 'f> Unpin for BodyItem<'a, 'f>
impl<'a, 'f> UnwindSafe for BodyItem<'a, 'f>
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