pub type NormalizedTy<'tcx> = Normalized<'tcx, Ty<'tcx>>;

Aliased Type§

struct NormalizedTy<'tcx> {
    pub value: Ty<'tcx>,
    pub obligations: Vec<Obligation<'tcx, Predicate<'tcx>>, Global>,
}

Fields§

§value: Ty<'tcx>§obligations: Vec<Obligation<'tcx, Predicate<'tcx>>, Global>

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
1.0.0 · 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

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: 32 bytes