Struct erg_parser::ast::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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TupleAttribute
impl Debug for TupleAttribute
sourceimpl Display for TupleAttribute
impl Display for TupleAttribute
sourceimpl Hash for TupleAttribute
impl Hash for TupleAttribute
sourceimpl Locational for TupleAttribute
impl Locational for TupleAttribute
sourceimpl NestedDisplay for TupleAttribute
impl NestedDisplay for TupleAttribute
sourceimpl PartialEq<TupleAttribute> for TupleAttribute
impl PartialEq<TupleAttribute> for TupleAttribute
sourcefn eq(&self, other: &TupleAttribute) -> bool
fn eq(&self, other: &TupleAttribute) -> bool
impl Eq for TupleAttribute
impl StructuralEq for TupleAttribute
impl StructuralPartialEq 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