Struct syn::ExprTuple [−][src]
pub struct ExprTuple { pub attrs: Vec<Attribute>, pub paren_token: Paren, pub elems: Punctuated<Expr, Comma>, }
A tuple expression: (a, b, c, d)
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
paren_token: Paren
elems: Punctuated<Expr, Comma>
Trait Implementations
impl Synom for ExprTuple
[src]
impl Synom for ExprTuple
fn parse(i: Cursor) -> PResult<Self>
[src]
fn parse(i: Cursor) -> PResult<Self>
fn description() -> Option<&'static str>
[src]
fn description() -> Option<&'static str>
A short name of the type being parsed. Read more
impl ToTokens for ExprTuple
[src]
impl ToTokens for ExprTuple
fn to_tokens(&self, tokens: &mut Tokens)
[src]
fn to_tokens(&self, tokens: &mut Tokens)
Write self
to the given Tokens
. Read more
fn into_tokens(self) -> Tokens
[src]
fn into_tokens(self) -> Tokens
Convert self
directly into a Tokens
object. Read more
impl Clone for ExprTuple
[src]
impl Clone for ExprTuple
fn clone(&self) -> ExprTuple
[src]
fn clone(&self) -> ExprTuple
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl From<ExprTuple> for Expr
[src]
impl From<ExprTuple> for Expr