Struct erg_parser::ast::VarSignature  
source · pub struct VarSignature {
    pub pat: VarPattern,
    pub t_spec: Option<TypeSpec>,
}Fields§
§pat: VarPattern§t_spec: Option<TypeSpec>Implementations§
Trait Implementations§
source§impl Clone for VarSignature
 
impl Clone for VarSignature
source§fn clone(&self) -> VarSignature
 
fn clone(&self) -> VarSignature
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 VarSignature
 
impl Debug for VarSignature
source§impl Display for VarSignature
 
impl Display for VarSignature
source§impl Hash for VarSignature
 
impl Hash for VarSignature
source§impl Locational for VarSignature
 
impl Locational for VarSignature
source§impl NestedDisplay for VarSignature
 
impl NestedDisplay for VarSignature
source§impl PartialEq<VarSignature> for VarSignature
 
impl PartialEq<VarSignature> for VarSignature
source§fn eq(&self, other: &VarSignature) -> bool
 
fn eq(&self, other: &VarSignature) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.