[][src]Struct rustc_ap_rustc_span::symbol::Interner

pub struct Interner { /* fields omitted */ }

Methods

impl Interner[src]

pub fn fresh() -> Self[src]

impl Interner[src]

pub fn intern(&mut self, string: &str) -> Symbol[src]

pub fn get(&self, symbol: Symbol) -> &str[src]

Trait Implementations

impl Default for Interner[src]

Auto Trait Implementations

impl !RefUnwindSafe for Interner

impl Send for Interner

impl !Sync for Interner

impl Unpin for Interner

impl UnwindSafe for Interner

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> 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, 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.