[][src]Enum rustc_ast::ast::MacDelimiter

pub enum MacDelimiter {
    Parenthesis,
    Bracket,
    Brace,
}

Variants

Parenthesis
Bracket
Brace

Implementations

impl MacDelimiter[src]

pub fn to_token(self) -> DelimToken[src]

pub fn from_token(delim: DelimToken) -> Option<MacDelimiter>[src]

Trait Implementations

impl Clone for MacDelimiter[src]

impl Copy for MacDelimiter[src]

impl Debug for MacDelimiter[src]

impl<__D: Decoder> Decodable<__D> for MacDelimiter[src]

impl<__E: Encoder> Encodable<__E> for MacDelimiter[src]

impl Eq for MacDelimiter[src]

impl<__CTX> HashStable<__CTX> for MacDelimiter where
    __CTX: HashStableContext
[src]

impl PartialEq<MacDelimiter> for MacDelimiter[src]

impl StructuralEq for MacDelimiter[src]

impl StructuralPartialEq for MacDelimiter[src]

Auto Trait Implementations

impl RefUnwindSafe for MacDelimiter

impl Send for MacDelimiter

impl Sync for MacDelimiter

impl Unpin for MacDelimiter

impl UnwindSafe for MacDelimiter

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.