Struct erg_parser::ast::DefaultParamSignature
source · pub struct DefaultParamSignature {
pub sig: NonDefaultParamSignature,
pub default_val: Expr,
}
Expand description
Once the default_value is set to Some, all subsequent values must be Some
Fields§
§sig: NonDefaultParamSignature
§default_val: Expr
Implementations§
Trait Implementations§
source§impl Clone for DefaultParamSignature
impl Clone for DefaultParamSignature
source§fn clone(&self) -> DefaultParamSignature
fn clone(&self) -> DefaultParamSignature
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 more