[−][src]Struct rustc_trait_selection::traits::project::AssocTypeNormalizer

pub(in traits::project) struct AssocTypeNormalizer<'a, 'b, 'tcx> {
    selcx: &'a mut SelectionContext<'b, 'tcx>,
    param_env: ParamEnv<'tcx>,
    cause: ObligationCause<'tcx>,
    obligations: &'a mut Vec<PredicateObligation<'tcx>>,
    depth: usize,
}

Fields

selcx: &'a mut SelectionContext<'b, 'tcx>param_env: ParamEnv<'tcx>cause: ObligationCause<'tcx>obligations: &'a mut Vec<PredicateObligation<'tcx>>depth: usize

Implementations

impl<'a, 'b, 'tcx> AssocTypeNormalizer<'a, 'b, 'tcx>[src]

pub(in traits::project) fn new(
    selcx: &'a mut SelectionContext<'b, 'tcx>,
    param_env: ParamEnv<'tcx>,
    cause: ObligationCause<'tcx>,
    depth: usize,
    obligations: &'a mut Vec<PredicateObligation<'tcx>>
) -> AssocTypeNormalizer<'a, 'b, 'tcx>
[src]

pub(in traits::project) fn fold<T: TypeFoldable<'tcx>>(
    &mut self,
    value: T
) -> T
[src]

Trait Implementations

impl<'a, 'b, 'tcx> TypeFolder<'tcx> for AssocTypeNormalizer<'a, 'b, 'tcx>[src]

Auto Trait Implementations

impl<'a, 'b, 'tcx> !RefUnwindSafe for AssocTypeNormalizer<'a, 'b, 'tcx>

impl<'a, 'b, 'tcx> !Send for AssocTypeNormalizer<'a, 'b, 'tcx>

impl<'a, 'b, 'tcx> !Sync for AssocTypeNormalizer<'a, 'b, 'tcx>

impl<'a, 'b, 'tcx> Unpin for AssocTypeNormalizer<'a, 'b, 'tcx> where
    'b: 'a,
    'tcx: 'a, 

impl<'a, 'b, 'tcx> !UnwindSafe for AssocTypeNormalizer<'a, 'b, '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]