Struct erg_parser::ast::SimpleTypeSpec
source · pub struct SimpleTypeSpec {
pub ident: Identifier,
pub args: ConstArgs,
}
Fields§
§ident: Identifier
§args: ConstArgs
Implementations§
source§impl SimpleTypeSpec
impl SimpleTypeSpec
pub const fn new(ident: Identifier, args: ConstArgs) -> Self
Trait Implementations§
source§impl Clone for SimpleTypeSpec
impl Clone for SimpleTypeSpec
source§fn clone(&self) -> SimpleTypeSpec
fn clone(&self) -> SimpleTypeSpec
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