pub struct Body {
pub parameters: Vec<TypeBinder>,
pub expression: TypedTerm,
}Expand description
A declaration’s parameters and the expression they are in scope over.
Fields§
§parameters: Vec<TypeBinder>The declaration’s parameters, outermost first, each with the type inference solved for it.
expression: TypedTermWhat the declaration evaluates to once its parameters are bound.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnsafeUnpin for Body
impl UnwindSafe for Body
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