[−][src]Struct rustc_resolve::PrimitiveTypeTable

pub(crate) struct PrimitiveTypeTable {
    primitive_types: FxHashMap<Symbol, PrimTy>,
}

Interns the names of the primitive types.

All other types are defined somewhere and possibly imported, but the primitive ones need special handling, since they have no place of origin.

Fields

primitive_types: FxHashMap<Symbol, PrimTy>

Implementations

impl PrimitiveTypeTable[src]

pub(crate) fn new() -> PrimitiveTypeTable[src]

Auto Trait Implementations

impl RefUnwindSafe for PrimitiveTypeTable

impl Send for PrimitiveTypeTable

impl Sync for PrimitiveTypeTable

impl Unpin for PrimitiveTypeTable

impl UnwindSafe for PrimitiveTypeTable

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