[][src]Enum syntax::ast::MacStmtStyle

pub enum MacStmtStyle {
    Semicolon,
    Braces,
    NoBraces,
}
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Variants

Semicolon
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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

Braces
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

The macro statement had braces (e.g., foo! { ... }).

NoBraces
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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]

impl Copy for MacStmtStyle[src]

impl Debug for MacStmtStyle[src]

impl Decodable for MacStmtStyle[src]

impl Encodable for MacStmtStyle[src]

impl PartialEq<MacStmtStyle> for MacStmtStyle[src]

impl StructuralPartialEq for MacStmtStyle[src]

Auto Trait Implementations

impl RefUnwindSafe for MacStmtStyle

impl Send for MacStmtStyle

impl Sync for MacStmtStyle

impl Unpin for MacStmtStyle

impl UnwindSafe for MacStmtStyle

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<E> SpecializationError for E[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.