Enum syntax::ast::StmtKind[][src]

pub enum StmtKind {
    Local(P<Local>),
    Item(P<Item>),
    Expr(P<Expr>),
    Semi(P<Expr>),
    Mac(P<(Mac, MacStmtStyle, ThinVec<Attribute>)>),
}

Variants

A local (let) binding.

An item definition.

Expr without trailing semi-colon.

Expr with a trailing semi-colon.

Macro.

Trait Implementations

impl Clone for StmtKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for StmtKind
[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 StmtKind
[src]

impl Encodable for StmtKind
[src]

impl Decodable for StmtKind
[src]

impl Hash for StmtKind
[src]

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

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

impl HasAttrs for StmtKind
[src]

Important traits for &'a [u8]

Auto Trait Implementations

impl !Send for StmtKind

impl !Sync for StmtKind