[][src]Enum rustc_ast::ast::ImplPolarity

pub enum ImplPolarity {
    Positive,
    Negative(Span),
}

Variants

Positive

impl Trait for Type

Negative(Span)

impl !Trait for Type

Trait Implementations

impl Clone for ImplPolarity[src]

impl Copy for ImplPolarity[src]

impl Debug for ImplPolarity[src]

impl Decodable for ImplPolarity[src]

impl Encodable for ImplPolarity[src]

impl<__CTX> HashStable<__CTX> for ImplPolarity where
    __CTX: HashStableContext
[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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

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