Struct erg_compiler::hir::NormalTuple
source · pub struct NormalTuple {
pub elems: Args,
/* private fields */
}
Fields§
§elems: Args
Implementations§
Trait Implementations§
source§impl Clone for NormalTuple
impl Clone for NormalTuple
source§fn clone(&self) -> NormalTuple
fn clone(&self) -> NormalTuple
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 NormalTuple
impl Debug for NormalTuple
source§impl Display for NormalTuple
impl Display for NormalTuple
source§impl HasType for NormalTuple
impl HasType for NormalTuple
fn ref_t(&self) -> &Type
source§fn ref_mut_t(&mut self) -> &mut Type
fn ref_mut_t(&mut self) -> &mut Type
x.ref_mut_t()
may panic, in which case x
is Call
and x.ref_t() == Type::Failure
.fn signature_t(&self) -> Option<&Type>
fn signature_mut_t(&mut self) -> Option<&mut Type>
fn t(&self) -> Type
fn inner_ts(&self) -> Vec<Type>
fn lhs_t(&self) -> &Type
fn rhs_t(&self) -> &Type
source§impl Hash for NormalTuple
impl Hash for NormalTuple
source§impl Locational for NormalTuple
impl Locational for NormalTuple
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 NormalTuple
impl NestedDisplay for NormalTuple
source§impl NoTypeDisplay for NormalTuple
impl NoTypeDisplay for NormalTuple
fn to_string_notype(&self) -> String
source§impl PartialEq<NormalTuple> for NormalTuple
impl PartialEq<NormalTuple> for NormalTuple
source§fn eq(&self, other: &NormalTuple) -> bool
fn eq(&self, other: &NormalTuple) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.