Type Alias rustc_infer::traits::project::NormalizedTy
source · 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>
impl<'tcx, T> Normalized<'tcx, T>
pub fn with<U>(self, value: U) -> Normalized<'tcx, U>
Trait Implementations§
source§impl<'tcx, T: Clone> Clone for Normalized<'tcx, T>
impl<'tcx, T: Clone> Clone for Normalized<'tcx, T>
source§fn clone(&self) -> Normalized<'tcx, T>
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreLayout§
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