Struct rustc_trait_selection::traits::Normalized [−][src]
pub struct Normalized<'tcx, T> {
pub value: T,
pub obligations: Vec<Obligation<'tcx, Predicate<'tcx>>, Global>,
}
Fields
value: T
obligations: Vec<Obligation<'tcx, Predicate<'tcx>>, Global>
Auto 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
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
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.