Struct gluon_base::ast::Lambda
source · pub struct Lambda<'ast, Id> {
pub id: TypedIdent<Id>,
pub args: &'ast mut [Argument<SpannedIdent<Id>>],
pub body: &'ast mut SpannedExpr<'ast, Id>,
}
Fields§
§id: TypedIdent<Id>
§args: &'ast mut [Argument<SpannedIdent<Id>>]
§body: &'ast mut SpannedExpr<'ast, Id>
Trait Implementations§
source§impl<'ast, Id: PartialEq> PartialEq for Lambda<'ast, Id>
impl<'ast, Id: PartialEq> PartialEq for Lambda<'ast, Id>
impl<'ast, Id: Eq> Eq for Lambda<'ast, Id>
impl<'ast, Id> StructuralEq for Lambda<'ast, Id>
impl<'ast, Id> StructuralPartialEq for Lambda<'ast, Id>
Auto Trait Implementations§
impl<'ast, Id> RefUnwindSafe for Lambda<'ast, Id>where
Id: RefUnwindSafe,
impl<'ast, Id> Send for Lambda<'ast, Id>
impl<'ast, Id> Sync for Lambda<'ast, Id>
impl<'ast, Id> Unpin for Lambda<'ast, Id>where
Id: Unpin,
impl<'ast, Id> !UnwindSafe for Lambda<'ast, Id>
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