Struct rustc_infer::errors::note_and_explain::DescriptionCtx
source · [−]Fields
span: Option<Span>
kind: &'a str
arg: String
num_arg: u32
Implementations
Trait Implementations
sourceimpl<'a> Default for DescriptionCtx<'a>
impl<'a> Default for DescriptionCtx<'a>
sourcefn default() -> DescriptionCtx<'a>
fn default() -> DescriptionCtx<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for DescriptionCtx<'a>
impl<'a> !Send for DescriptionCtx<'a>
impl<'a> !Sync for DescriptionCtx<'a>
impl<'a> Unpin for DescriptionCtx<'a>
impl<'a> UnwindSafe for DescriptionCtx<'a>
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
impl<'a, T> Captures<'a> for Twhere
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: 56 bytes