Struct erg_parser::ast::LambdaSignature
source · pub struct LambdaSignature {
pub bounds: TypeBoundSpecs,
pub params: Params,
pub return_t_spec: Option<TypeSpec>,
}
Fields§
§bounds: TypeBoundSpecs
§params: Params
§return_t_spec: Option<TypeSpec>
Implementations§
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§fn loc(&self) -> Location
fn loc(&self) -> Location
NOTE:
loc
cannot be treated as a light method when self
is a large grammatical element.
If possible, delay the computation by passing &impl Locational
or other means.fn ln_begin(&self) -> Option<u32>
fn ln_end(&self) -> Option<u32>
fn col_begin(&self) -> Option<u32>
fn col_end(&self) -> Option<u32>
source§impl PartialEq<LambdaSignature> for LambdaSignature
impl PartialEq<LambdaSignature> 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 ==
.