Struct syntex_syntax::ast::Expr [] [src]

pub struct Expr {
    pub id: NodeId,
    pub node: ExprKind,
    pub span: Span,
    pub attrs: ThinVec<Attribute>,
}

An expression

Fields

Trait Implementations

impl Clone for Expr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 Eq for Expr
[src]

impl Encodable for Expr
[src]

Serialize a value using an Encoder.

impl Decodable for Expr
[src]

Deserialize a value using a Decoder.

impl Hash for Expr
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for Expr
[src]

Formats the value using the given formatter.

impl HasAttrs for Expr
[src]