Struct rustc_trait_selection::infer::InferOk
source · [−]pub struct InferOk<'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 InferOk<'tcx, T>
impl<'tcx, T> !Send for InferOk<'tcx, T>
impl<'tcx, T> !Sync for InferOk<'tcx, T>
impl<'tcx, T> Unpin for InferOk<'tcx, T>where
T: Unpin,
impl<'tcx, T> !UnwindSafe for InferOk<'tcx, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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.