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 moresource§impl Debug for SimpleTypeSpec
impl Debug for SimpleTypeSpec
source§impl Display for SimpleTypeSpec
impl Display for SimpleTypeSpec
source§impl Hash for SimpleTypeSpec
impl Hash for SimpleTypeSpec
source§impl Locational for SimpleTypeSpec
impl Locational for SimpleTypeSpec
source§impl PartialEq<SimpleTypeSpec> for SimpleTypeSpec
impl PartialEq<SimpleTypeSpec> for SimpleTypeSpec
source§fn eq(&self, other: &SimpleTypeSpec) -> bool
fn eq(&self, other: &SimpleTypeSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.