Struct rustc_infer::infer::error_reporting::need_type_info::InferSource
source · [−]struct InferSource<'tcx> {
span: Span,
kind: InferSourceKind<'tcx>,
}Fields
span: Spankind: InferSourceKind<'tcx>Implementations
sourceimpl<'tcx> InferSource<'tcx>
impl<'tcx> InferSource<'tcx>
fn from_expansion(&self) -> bool
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for InferSource<'tcx>
impl<'tcx> !Send for InferSource<'tcx>
impl<'tcx> !Sync for InferSource<'tcx>
impl<'tcx> Unpin for InferSource<'tcx>
impl<'tcx> !UnwindSafe for InferSource<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<'a, T> Captures<'a> for T where
T: ?Sized,
Layout
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: 64 bytes