[−][src]Struct rustc_span::symbol::MacroRulesNormalizedIdent

pub struct MacroRulesNormalizedIdent(Ident);

An newtype around Ident that calls Ident::normalize_to_macro_rules on construction.

Implementations

impl MacroRulesNormalizedIdent[src]

pub fn new(ident: Ident) -> Self[src]

Trait Implementations

impl Clone for MacroRulesNormalizedIdent[src]

impl Copy for MacroRulesNormalizedIdent[src]

impl Debug for MacroRulesNormalizedIdent[src]

impl Display for MacroRulesNormalizedIdent[src]

impl Eq for MacroRulesNormalizedIdent[src]

impl Hash for MacroRulesNormalizedIdent[src]

impl PartialEq<MacroRulesNormalizedIdent> for MacroRulesNormalizedIdent[src]

impl StructuralEq for MacroRulesNormalizedIdent[src]

impl StructuralPartialEq for MacroRulesNormalizedIdent[src]

Auto Trait Implementations

impl RefUnwindSafe for MacroRulesNormalizedIdent

impl !Send for MacroRulesNormalizedIdent

impl !Sync for MacroRulesNormalizedIdent

impl Unpin for MacroRulesNormalizedIdent

impl UnwindSafe for MacroRulesNormalizedIdent

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> ToString for T where
    T: Display + ?Sized, 
[src]

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.