Struct syn::Expr[][src]

pub struct Expr {
    pub node: ExprKind,
    pub attrs: Vec<Attribute>,
}

An expression.

Fields

Type of the expression.

Attributes tagged on the expression.

Trait Implementations

impl ToTokens for Expr
[src]

Write self to the given Tokens. Read more

impl Debug for Expr
[src]

Formats the value using the given formatter. Read more

impl Clone for Expr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Expr
[src]

impl PartialEq for Expr
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Expr
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl From<ExprKind> for Expr
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Expr

impl Sync for Expr