Enum erg_parser::ast::Tuple
source · pub enum Tuple {
Normal(NormalTuple),
}
Variants§
Normal(NormalTuple)
Implementations§
Trait Implementations§
source§impl Locational for Tuple
impl Locational for Tuple
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 Tuple
impl NestedDisplay for Tuple
source§impl PartialEq<Tuple> for Tuple
impl PartialEq<Tuple> for Tuple
impl Eq for Tuple
impl StructuralEq for Tuple
impl StructuralPartialEq for Tuple
Auto Trait Implementations§
impl RefUnwindSafe for Tuple
impl Send for Tuple
impl Sync for Tuple
impl Unpin for Tuple
impl UnwindSafe for Tuple
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