[−][src]Struct rustc_trait_selection::traits::select::TraitObligationStackList

pub(in traits::select) struct TraitObligationStackList<'o, 'tcx> {
    cache: &'o ProvisionalEvaluationCache<'tcx>,
    head: Option<&'o TraitObligationStack<'o, 'tcx>>,
}

Fields

cache: &'o ProvisionalEvaluationCache<'tcx>head: Option<&'o TraitObligationStack<'o, 'tcx>>

Implementations

impl<'o, 'tcx> TraitObligationStackList<'o, 'tcx>[src]

pub(in traits::select) fn empty(
    cache: &'o ProvisionalEvaluationCache<'tcx>
) -> TraitObligationStackList<'o, 'tcx>ⓘ

Notable traits for TraitObligationStackList<'o, 'tcx>

impl<'o, 'tcx> Iterator for TraitObligationStackList<'o, 'tcx> type Item = &'o TraitObligationStack<'o, 'tcx>;
[src]

pub(in traits::select) fn with(
    r: &'o TraitObligationStack<'o, 'tcx>
) -> TraitObligationStackList<'o, 'tcx>ⓘ

Notable traits for TraitObligationStackList<'o, 'tcx>

impl<'o, 'tcx> Iterator for TraitObligationStackList<'o, 'tcx> type Item = &'o TraitObligationStack<'o, 'tcx>;
[src]

pub(in traits::select) fn head(
    &self
) -> Option<&'o TraitObligationStack<'o, 'tcx>>
[src]

pub(in traits::select) fn depth(
    &self
) -> usize
[src]

Trait Implementations

impl<'o, 'tcx> Clone for TraitObligationStackList<'o, 'tcx>[src]

impl<'o, 'tcx> Copy for TraitObligationStackList<'o, 'tcx>[src]

impl<'o, 'tcx> Iterator for TraitObligationStackList<'o, 'tcx>[src]

type Item = &'o TraitObligationStack<'o, 'tcx>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'o, 'tcx> !RefUnwindSafe for TraitObligationStackList<'o, 'tcx>

impl<'o, 'tcx> !Send for TraitObligationStackList<'o, 'tcx>

impl<'o, 'tcx> !Sync for TraitObligationStackList<'o, 'tcx>

impl<'o, 'tcx> Unpin for TraitObligationStackList<'o, 'tcx> where
    'tcx: 'o, 

impl<'o, 'tcx> !UnwindSafe for TraitObligationStackList<'o, 'tcx>

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

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

impl<I> IntoIterator for I where
    I: Iterator, 
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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]