Struct erg_parser::ast::LambdaSignature
source · pub struct LambdaSignature {
pub bounds: TypeBoundSpecs,
pub params: Params,
pub return_t_spec: Option<TypeSpecWithOp>,
}Fields§
§bounds: TypeBoundSpecs§params: Params§return_t_spec: Option<TypeSpecWithOp>Implementations§
source§impl LambdaSignature
impl LambdaSignature
pub const fn new( params: Params, return_t_spec: Option<TypeSpecWithOp>, bounds: TypeBoundSpecs ) -> Self
pub fn do_sig(do_symbol: &Token) -> Self
Trait Implementations§
source§impl Clone for LambdaSignature
impl Clone for LambdaSignature
source§fn clone(&self) -> LambdaSignature
fn clone(&self) -> LambdaSignature
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 LambdaSignature
impl Debug for LambdaSignature
source§impl Display for LambdaSignature
impl Display for LambdaSignature
source§impl Hash for LambdaSignature
impl Hash for LambdaSignature
source§impl Locational for LambdaSignature
impl Locational for LambdaSignature
source§impl PartialEq for LambdaSignature
impl PartialEq for LambdaSignature
source§fn eq(&self, other: &LambdaSignature) -> bool
fn eq(&self, other: &LambdaSignature) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for LambdaSignature
impl StructuralEq for LambdaSignature
impl StructuralPartialEq for LambdaSignature
Auto Trait Implementations§
impl RefUnwindSafe for LambdaSignature
impl Send for LambdaSignature
impl Sync for LambdaSignature
impl Unpin for LambdaSignature
impl UnwindSafe for LambdaSignature
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