Struct syn::ExprRepeat [−][src]
pub struct ExprRepeat { pub attrs: Vec<Attribute>, pub bracket_token: Bracket, pub expr: Box<Expr>, pub semi_token: Semi, pub len: Box<Expr>, }
This is supported on crate feature
full
only.An array literal constructed from one repeated element: [0u8; N]
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
bracket_token: Bracket
expr: Box<Expr>
semi_token: Semi
len: Box<Expr>
Trait Implementations
impl Clone for ExprRepeat
[src]
impl Clone for ExprRepeat
[src]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExprRepeat
[src]
impl Debug for ExprRepeat
[src]This is supported on crate feature
extra-traits
only.impl Eq for ExprRepeat
[src]
impl Eq for ExprRepeat
[src]This is supported on crate feature
extra-traits
only.impl From<ExprRepeat> for Expr
[src]
impl From<ExprRepeat> for Expr
[src]fn from(e: ExprRepeat) -> Expr
[src]
impl Hash for ExprRepeat
[src]
impl Hash for ExprRepeat
[src]This is supported on crate feature
extra-traits
only.impl Parse for ExprRepeat
[src]
impl Parse for ExprRepeat
[src]This is supported on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ExprRepeat> for ExprRepeat
[src]
impl PartialEq<ExprRepeat> for ExprRepeat
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for ExprRepeat
[src]
impl ToTokens for ExprRepeat
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExprRepeat
impl RefUnwindSafe for ExprRepeat
impl !Send for ExprRepeat
impl !Send for ExprRepeat
impl !Sync for ExprRepeat
impl !Sync for ExprRepeat
impl Unpin for ExprRepeat
impl Unpin for ExprRepeat
impl UnwindSafe for ExprRepeat
impl UnwindSafe for ExprRepeat