rustc_infer::traits

Type Alias NormalizedTerm

Source
pub type NormalizedTerm<'tcx> = Normalized<'tcx, Term<'tcx>>;

Aliased Type§

struct NormalizedTerm<'tcx> {
    pub value: Term<'tcx>,
    pub obligations: ThinVec<Obligation<'tcx, Predicate<'tcx>>>,
}

Fields§

§value: Term<'tcx>§obligations: ThinVec<Obligation<'tcx, Predicate<'tcx>>>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes

Implementations

Source§

impl<'tcx, T> Normalized<'tcx, T>

Source

pub fn with<U>(self, value: U) -> Normalized<'tcx, U>

Trait Implementations

Source§

impl<'tcx, T: Clone> Clone for Normalized<'tcx, T>

Source§

fn clone(&self) -> Normalized<'tcx, T>

Returns a copy of the value. Read more
Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'tcx, T: Debug> Debug for Normalized<'tcx, T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more