[][src]Enum rustc_ap_rustc_ast::ast::MacStmtStyle

pub enum MacStmtStyle {
    Semicolon,
    Braces,
    NoBraces,
}

Variants

Semicolon

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

Braces

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

NoBraces

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

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<'a, T> Captures<'a> 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<T> Same<T> for T

type Output = T

Should always be Self

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 = Infallible

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.