Struct docs::ast::IndexExpression
source · pub struct IndexExpression {
pub token: Token,
pub left: Box<Expression>,
pub index: Box<Expression>,
}Fields§
§token: Token§left: Box<Expression>§index: Box<Expression>Trait Implementations§
source§impl Clone for IndexExpression
impl Clone for IndexExpression
source§fn clone(&self) -> IndexExpression
fn clone(&self) -> IndexExpression
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 IndexExpression
impl Debug for IndexExpression
source§impl Nodetrait for IndexExpression
impl Nodetrait for IndexExpression
source§impl PartialEq for IndexExpression
impl PartialEq for IndexExpression
source§fn eq(&self, other: &IndexExpression) -> bool
fn eq(&self, other: &IndexExpression) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IndexExpression
Auto Trait Implementations§
impl Freeze for IndexExpression
impl RefUnwindSafe for IndexExpression
impl Send for IndexExpression
impl Sync for IndexExpression
impl Unpin for IndexExpression
impl UnwindSafe for IndexExpression
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