Enum ra_ap_hir_ty::AliasTy[][src]

pub enum AliasTy {
    Projection(ProjectionTy),
    Opaque(OpaqueTy),
}

Variants

Projection(ProjectionTy)

A “projection” type corresponds to an (unnormalized) projection like <P0 as Trait<P1..Pn>>::Foo. Note that the trait and all its parameters are fully known.

Opaque(OpaqueTy)

An opaque type (impl Trait).

This is currently only used for return type impl trait; each instance of impl Trait in a return type gets its own ID.

Trait Implementations

impl Clone for AliasTy[src]

impl Debug for AliasTy[src]

impl Eq for AliasTy[src]

impl Hash for AliasTy[src]

impl PartialEq<AliasTy> for AliasTy[src]

impl StructuralEq for AliasTy[src]

impl StructuralPartialEq for AliasTy[src]

impl TypeWalk for AliasTy[src]

Auto Trait Implementations

impl RefUnwindSafe for AliasTy

impl Send for AliasTy

impl Sync for AliasTy

impl Unpin for AliasTy

impl UnwindSafe for AliasTy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T[src]

impl<T> CloneAny for T where
    T: Any + Clone

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument 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.