Enum rustc_typeck::hir::Stmt_ [] [src]

pub enum Stmt_ {
    StmtDecl(P<Spanned<Decl_>>, NodeId),
    StmtExpr(P<Expr>, NodeId),
    StmtSemi(P<Expr>, NodeId),
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

Could be an item or a local (let) binding:

🔬 This is a nightly-only experimental API. (rustc_private)

Expr without trailing semi-colon (must have unit type):

🔬 This is a nightly-only experimental API. (rustc_private)

Expr with trailing semi-colon (may have any type):

Methods

impl Stmt_
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

impl Decodable for Stmt_
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

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

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

Feeds a slice of this type into the state provided.

impl Clone for Stmt_
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Stmt_
[src]

impl Debug for Stmt_
[src]

Formats the value using the given formatter.

impl Encodable for Stmt_
[src]

🔬 This is a nightly-only experimental API. (rustc_private)