Struct erg_parser::ast::ConstLambda
source · pub struct ConstLambda {
pub sig: Box<LambdaSignature>,
pub op: Token,
pub body: ConstBlock,
pub id: DefId,
}
Fields§
§sig: Box<LambdaSignature>
§op: Token
§body: ConstBlock
§id: DefId
Implementations§
source§impl ConstLambda
impl ConstLambda
pub fn new(sig: LambdaSignature, op: Token, body: ConstBlock, id: DefId) -> Self
Trait Implementations§
source§impl Clone for ConstLambda
impl Clone for ConstLambda
source§fn clone(&self) -> ConstLambda
fn clone(&self) -> ConstLambda
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConstLambda
impl Debug for ConstLambda
source§impl Display for ConstLambda
impl Display for ConstLambda
source§impl Hash for ConstLambda
impl Hash for ConstLambda
source§impl Locational for ConstLambda
impl Locational for ConstLambda
source§impl NestedDisplay for ConstLambda
impl NestedDisplay for ConstLambda
source§impl PartialEq for ConstLambda
impl PartialEq for ConstLambda
source§fn eq(&self, other: &ConstLambda) -> bool
fn eq(&self, other: &ConstLambda) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConstLambda
impl StructuralPartialEq for ConstLambda
Auto Trait Implementations§
impl Freeze for ConstLambda
impl RefUnwindSafe for ConstLambda
impl Send for ConstLambda
impl Sync for ConstLambda
impl Unpin for ConstLambda
impl UnwindSafe for ConstLambda
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