Struct devise::syn::ExprRepeat [−][src]
pub struct ExprRepeat {
pub attrs: Vec<Attribute, Global>,
pub bracket_token: Bracket,
pub expr: Box<Expr, Global>,
pub semi_token: Semi,
pub len: Box<Expr, Global>,
}
Expand description
An array literal constructed from one repeated element: [0u8; N]
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute, Global>
bracket_token: Bracket
expr: Box<Expr, Global>
semi_token: Semi
len: Box<Expr, Global>
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for ExprRepeat
impl !Send for ExprRepeat
impl !Sync for ExprRepeat
impl Unpin for ExprRepeat
impl UnwindSafe for ExprRepeat
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