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§impl NestedDisplay for TypeAppArgsKind
impl NestedDisplay for TypeAppArgsKind
source§impl PartialEq for TypeAppArgsKind
impl PartialEq 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 ==
.impl Eq for TypeAppArgsKind
impl StructuralPartialEq for TypeAppArgsKind
Auto Trait Implementations§
impl Freeze for TypeAppArgsKind
impl RefUnwindSafe for TypeAppArgsKind
impl Send for TypeAppArgsKind
impl Sync for TypeAppArgsKind
impl Unpin for TypeAppArgsKind
impl UnwindSafe for TypeAppArgsKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more