Struct erg_parser::ast::ConstTuple
source · pub struct ConstTuple {
pub elems: ConstArgs,
}
Fields§
§elems: ConstArgs
Implementations§
Trait Implementations§
source§impl Clone for ConstTuple
impl Clone for ConstTuple
source§fn clone(&self) -> ConstTuple
fn clone(&self) -> ConstTuple
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 ConstTuple
impl Debug for ConstTuple
source§impl Display for ConstTuple
impl Display for ConstTuple
source§impl Hash for ConstTuple
impl Hash for ConstTuple
source§impl Locational for ConstTuple
impl Locational for ConstTuple
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 ConstTuple
impl NestedDisplay for ConstTuple
source§impl PartialEq<ConstTuple> for ConstTuple
impl PartialEq<ConstTuple> for ConstTuple
source§fn eq(&self, other: &ConstTuple) -> bool
fn eq(&self, other: &ConstTuple) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.