Enum syntex_syntax::ast::MacStmtStyle [] [src]

pub enum MacStmtStyle {
    Semicolon,
    Braces,
    NoBraces,
}

Variants

The macro statement had a trailing semicolon, e.g. foo! { ... }; foo!(...);, foo![...];

The macro statement had braces; e.g. foo! { ... }

The macro statement had parentheses or brackets and no semicolon; e.g. foo!(...). All of these will end up being converted into macro expressions.

Trait Implementations

impl Clone for MacStmtStyle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MacStmtStyle
[src]

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

impl Encodable for MacStmtStyle
[src]

Serialize a value using an Encoder.

impl Decodable for MacStmtStyle
[src]

Deserialize a value using a Decoder.

impl Hash for MacStmtStyle
[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 MacStmtStyle
[src]

Formats the value using the given formatter.