[][src]Enum syntax::parse::parser::AliasKind

pub enum AliasKind {
    Weak(P<Ty>),
    OpaqueTy(GenericBounds),
}

Whether the type alias or associated type is a concrete type or an opaque type.

Variants

Weak(P<Ty>)

Just a new name for the same type.

OpaqueTy(GenericBounds)

Only trait impls of the type will be usable, not the actual type itself.

Trait Implementations

impl Debug for AliasKind[src]

Auto Trait Implementations

impl Unpin for AliasKind

impl !Sync for AliasKind

impl !Send for AliasKind

impl !UnwindSafe for AliasKind

impl !RefUnwindSafe for AliasKind

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

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

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

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

impl<T> Erased for T[src]

impl<E> SpecializationError for E[src]