Struct erg_parser::ast::Lambda
source · [−]pub struct Lambda {
pub sig: LambdaSignature,
pub op: Token,
pub body: Block,
pub id: DefId,
}
Fields
sig: LambdaSignature
op: Token
for detecting func/proc
body: Block
id: DefId
Implementations
Trait Implementations
sourceimpl Locational for Lambda
impl Locational for Lambda
sourceimpl NestedDisplay for Lambda
impl NestedDisplay for Lambda
impl Eq for Lambda
impl StructuralEq for Lambda
impl StructuralPartialEq for Lambda
Auto Trait Implementations
impl !RefUnwindSafe for Lambda
impl !Send for Lambda
impl !Sync for Lambda
impl Unpin for Lambda
impl !UnwindSafe for Lambda
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more