Struct erg_parser::ast::TypeAscription
source · Expand description
type_ascription ::= expr ‘:’ type | expr ‘<:’ type | expr ‘:>’ type
Fields§
§expr: Box<Expr>
§op: Token
§t_spec: TypeSpec
Implementations§
Trait Implementations§
source§impl Clone for TypeAscription
impl Clone for TypeAscription
source§fn clone(&self) -> TypeAscription
fn clone(&self) -> TypeAscription
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