[][src]Enum rustc_ap_rustc_ast::ast::ParamKindOrd

pub enum ParamKindOrd {
    Lifetime,
    Type,
    Const,
}

Specifies the enforced ordering for generic parameters. In the future, if we wanted to relax this order, we could override PartialEq and PartialOrd, to allow the kinds to be unordered.

Variants

Lifetime
Type
Const

Trait Implementations

impl Clone for ParamKindOrd[src]

impl Copy for ParamKindOrd[src]

impl Display for ParamKindOrd[src]

impl Eq for ParamKindOrd[src]

impl Hash for ParamKindOrd[src]

impl Ord for ParamKindOrd[src]

impl PartialEq<ParamKindOrd> for ParamKindOrd[src]

impl PartialOrd<ParamKindOrd> for ParamKindOrd[src]

impl StructuralEq for ParamKindOrd[src]

impl StructuralPartialEq for ParamKindOrd[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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<T> Same<T> for T

type Output = T

Should always be Self

impl<E> SpecializationError for E[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.