Struct rustc::middle::traits::SupertraitsUnstable [-]  [+] [src]

pub struct Supertraits<'cx, 'tcx> {
    // some fields omitted
}

A filter around the Elaborator that just yields up supertrait references, not other kinds of predicates.

Trait Implementations

impl<'cx, 'tcx> Iterator for Supertraits<'cx, 'tcx>

type Item = PolyTraitRef<'tcx>

fn next(&mut self) -> Option<PolyTraitRef<'tcx>>

fn size_hint(&self) -> (usize, Option<usize>)