Struct erg_compiler::hir::TupleAttribute
source · [−]Expand description
e.g. obj.0, obj.1
Fields
obj: Box<Expr>
index: Literal
Implementations
Trait Implementations
sourceimpl Clone for TupleAttribute
impl Clone for TupleAttribute
sourcefn clone(&self) -> TupleAttribute
fn clone(&self) -> TupleAttribute
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TupleAttribute
impl Debug for TupleAttribute
sourceimpl Display for TupleAttribute
impl Display for TupleAttribute
sourceimpl HasType for TupleAttribute
impl HasType for TupleAttribute
fn ref_t(&self) -> &Type
fn ref_mut_t(&mut self) -> &mut Type
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, Global>
fn lhs_t(&self) -> &Type
fn rhs_t(&self) -> &Type
sourceimpl Locational for TupleAttribute
impl Locational for TupleAttribute
sourceimpl NestedDisplay for TupleAttribute
impl NestedDisplay for TupleAttribute
Auto Trait Implementations
impl !RefUnwindSafe for TupleAttribute
impl !Send for TupleAttribute
impl !Sync for TupleAttribute
impl Unpin for TupleAttribute
impl !UnwindSafe for TupleAttribute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more