Enum erg_parser::ast::TypeAppArgsKind
source · pub enum TypeAppArgsKind {
SubtypeOf(Box<TypeSpecWithOp>),
Args(Args),
}
Variants§
SubtypeOf(Box<TypeSpecWithOp>)
Args(Args)
Trait Implementations§
source§impl Clone for TypeAppArgsKind
impl Clone for TypeAppArgsKind
source§fn clone(&self) -> TypeAppArgsKind
fn clone(&self) -> TypeAppArgsKind
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 TypeAppArgsKind
impl Debug for TypeAppArgsKind
source§impl Display for TypeAppArgsKind
impl Display for TypeAppArgsKind
source§impl Hash for TypeAppArgsKind
impl Hash for TypeAppArgsKind
source§impl Locational for TypeAppArgsKind
impl Locational for TypeAppArgsKind
source§fn loc(&self) -> Location
fn loc(&self) -> Location
NOTE:
loc
cannot be treated as a light method when self
is a large grammatical element.
If possible, delay the computation by passing &impl Locational
or other means.fn ln_begin(&self) -> Option<u32>
fn ln_end(&self) -> Option<u32>
fn col_begin(&self) -> Option<u32>
fn col_end(&self) -> Option<u32>
source§impl NestedDisplay for TypeAppArgsKind
impl NestedDisplay for TypeAppArgsKind
source§impl PartialEq<TypeAppArgsKind> for TypeAppArgsKind
impl PartialEq<TypeAppArgsKind> for TypeAppArgsKind
source§fn eq(&self, other: &TypeAppArgsKind) -> bool
fn eq(&self, other: &TypeAppArgsKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.