[−][src]Enum rustc_middle::ty::ImplPolarity

pub enum ImplPolarity {
    Positive,
    Negative,
    Reservation,
}

Variants

Positive

impl Trait for Type

Negative

impl !Trait for Type

Reservation

#[rustc_reservation_impl] impl Trait for Type

This is a "stability hack", not a real Rust feature. See #64631 for details.

Trait Implementations

impl Clone for ImplPolarity[src]

impl Copy for ImplPolarity[src]

impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for ImplPolarity[src]

impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for ImplPolarity[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ImplPolarity[src]

impl PartialEq<ImplPolarity> for ImplPolarity[src]

impl StructuralPartialEq for ImplPolarity[src]

Auto Trait Implementations

impl RefUnwindSafe for ImplPolarity

impl Send for ImplPolarity

impl Sync for ImplPolarity

impl Unpin for ImplPolarity

impl UnwindSafe for ImplPolarity

Blanket Implementations

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

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy, 
[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> From<T> for T[src]

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

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

type Error = !

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.

impl<T> WithConstness for T[src]