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§
source§impl Locational for Lambda
impl Locational for Lambda
source§impl NestedDisplay for Lambda
impl NestedDisplay for Lambda
impl Eq for Lambda
impl StructuralPartialEq for Lambda
Auto Trait Implementations§
impl Freeze for Lambda
impl RefUnwindSafe for Lambda
impl Send for Lambda
impl Sync for Lambda
impl Unpin for Lambda
impl UnwindSafe for Lambda
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)