Struct erg_parser::ast::DefaultParamTySpec
source · pub struct DefaultParamTySpec {
pub param: ParamTySpec,
pub default: TypeSpec,
}
Fields§
§param: ParamTySpec
§default: TypeSpec
Implementations§
source§impl DefaultParamTySpec
impl DefaultParamTySpec
pub const fn new(param: ParamTySpec, default: TypeSpec) -> Self
Trait Implementations§
source§impl Clone for DefaultParamTySpec
impl Clone for DefaultParamTySpec
source§fn clone(&self) -> DefaultParamTySpec
fn clone(&self) -> DefaultParamTySpec
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