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>>)

Tuple Fields

0: Spanned<'f, Expr<'a, 'f>>

An assertion

Equation(Vec<Spanned<'f, LeftItem<'a, 'f>>>, Spanned<'f, Expr<'a, 'f>>)

Tuple Fields

0: Vec<Spanned<'f, LeftItem<'a, 'f>>>
1: Spanned<'f, Expr<'a, 'f>>

An equation

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.