[−][src]Enum rustc_trait_selection::traits::select::BuiltinImplConditions

pub(in traits::select) enum BuiltinImplConditions<'tcx> {
    Where(Binder<Vec<Ty<'tcx>>>),
    None,
    Ambiguous,
}

When does the builtin impl for T: Trait apply?

Variants

Where(Binder<Vec<Ty<'tcx>>>)

The impl is conditional on T1, T2, ...: Trait.

None

There is no built-in impl. There may be some other candidate (a where-clause or user-defined impl).

Ambiguous

It is unknown whether there is an impl.

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for BuiltinImplConditions<'tcx>

impl<'tcx> !Send for BuiltinImplConditions<'tcx>

impl<'tcx> !Sync for BuiltinImplConditions<'tcx>

impl<'tcx> Unpin for BuiltinImplConditions<'tcx>

impl<'tcx> !UnwindSafe for BuiltinImplConditions<'tcx>

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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> WithConstness for T[src]