Struct erg_parser::ast::TypeAppArgs
source · pub struct TypeAppArgs {
pub l_vbar: Token,
pub args: TypeAppArgsKind,
pub r_vbar: Token,
}
Fields§
§l_vbar: Token
§args: TypeAppArgsKind
§r_vbar: Token
Implementations§
source§impl TypeAppArgs
impl TypeAppArgs
pub const fn new(l_vbar: Token, args: TypeAppArgsKind, r_vbar: Token) -> Self
Trait Implementations§
source§impl Clone for TypeAppArgs
impl Clone for TypeAppArgs
source§fn clone(&self) -> TypeAppArgs
fn clone(&self) -> TypeAppArgs
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 TypeAppArgs
impl Debug for TypeAppArgs
source§impl Display for TypeAppArgs
impl Display for TypeAppArgs
source§impl Hash for TypeAppArgs
impl Hash for TypeAppArgs
source§impl Locational for TypeAppArgs
impl Locational for TypeAppArgs
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 TypeAppArgs
impl NestedDisplay for TypeAppArgs
source§impl PartialEq<TypeAppArgs> for TypeAppArgs
impl PartialEq<TypeAppArgs> for TypeAppArgs
source§fn eq(&self, other: &TypeAppArgs) -> bool
fn eq(&self, other: &TypeAppArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TypeAppArgs
impl StructuralEq for TypeAppArgs
impl StructuralPartialEq for TypeAppArgs
Auto Trait Implementations§
impl RefUnwindSafe for TypeAppArgs
impl Send for TypeAppArgs
impl Sync for TypeAppArgs
impl Unpin for TypeAppArgs
impl UnwindSafe for TypeAppArgs
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