Struct rustc_trait_selection::infer::InferOk
source · pub struct InferOk<'tcx, T> {
pub value: T,
pub obligations: Vec<Obligation<'tcx, Predicate<'tcx>>>,
}Fields§
§value: T§obligations: Vec<Obligation<'tcx, Predicate<'tcx>>>Auto Trait Implementations§
impl<'tcx, T> !RefUnwindSafe for InferOk<'tcx, T>
impl<'tcx, T> Send for InferOk<'tcx, T>where
T: Send,
impl<'tcx, T> Sync for InferOk<'tcx, T>where
T: Sync,
impl<'tcx, T> Unpin for InferOk<'tcx, T>where
T: Unpin,
impl<'tcx, T> !UnwindSafe for InferOk<'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.