Struct devise::syn::ExprIndex [−][src]
pub struct ExprIndex {
pub attrs: Vec<Attribute, Global>,
pub expr: Box<Expr, Global>,
pub bracket_token: Bracket,
pub index: Box<Expr, Global>,
}Expand description
A square bracketed indexing expression: vector[2].
This type is available if Syn is built with the "derive" or
"full" feature.
Fields
attrs: Vec<Attribute, Global>expr: Box<Expr, Global>bracket_token: Bracketindex: Box<Expr, Global>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ExprIndex
impl UnwindSafe for ExprIndex
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more