Struct rustc_infer::traits::Normalized
source · pub struct Normalized<'tcx, T> {
pub value: T,
pub obligations: Vec<PredicateObligation<'tcx>>,
}
Fields§
§value: T
§obligations: Vec<PredicateObligation<'tcx>>
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 moreAuto Trait Implementations§
impl<'tcx, T> !RefUnwindSafe for Normalized<'tcx, T>
impl<'tcx, T> !Send for Normalized<'tcx, T>
impl<'tcx, T> !Sync for Normalized<'tcx, T>
impl<'tcx, T> Unpin for Normalized<'tcx, T>where T: Unpin,
impl<'tcx, T> !UnwindSafe for Normalized<'tcx, T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.