Struct unrest_tmp_syn::ExprIndex
[−]
[src]
pub struct ExprIndex { pub expr: Box<Expr>, pub index: Box<Expr>, pub bracket_token: Bracket, }
An indexing operation (foo[2]
)
Fields
expr: Box<Expr>
index: Box<Expr>
bracket_token: Bracket
Trait Implementations
impl ToTokens for ExprIndex
[src]
fn to_tokens(&self, tokens: &mut Tokens)
Write self
to the given Tokens
. Read more
fn into_tokens(self) -> Tokens
Convert self
directly into a Tokens
object. Read more
impl Clone for ExprIndex
[src]
fn clone(&self) -> ExprIndex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more