Struct devise::syn::ExprRepeat
source · 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§
source§impl Clone for ExprRepeat
impl Clone for ExprRepeat
source§fn clone(&self) -> ExprRepeat
fn clone(&self) -> ExprRepeat
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 ExprRepeat
impl Debug for ExprRepeat
source§impl From<ExprRepeat> for Expr
impl From<ExprRepeat> for Expr
source§fn from(e: ExprRepeat) -> Expr
fn from(e: ExprRepeat) -> Expr
Converts to this type from the input type.