pub struct Value<'a> {
pub name: &'a Located<&'a str>,
pub arguments: &'a [&'a Located<Pattern<'a>>],
pub body: &'a Located<Expr<'a>>,
pub annotation: Option<&'a Located<Type<'a>>>,
}Fields§
§name: &'a Located<&'a str>§arguments: &'a [&'a Located<Pattern<'a>>]§body: &'a Located<Expr<'a>>§annotation: Option<&'a Located<Type<'a>>>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Value<'a>
impl<'a> RefUnwindSafe for Value<'a>
impl<'a> Send for Value<'a>
impl<'a> Sync for Value<'a>
impl<'a> Unpin for Value<'a>
impl<'a> UnsafeUnpin for Value<'a>
impl<'a> UnwindSafe for Value<'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