Enum rustc_infer::errors::note_and_explain::PrefixKind
source · pub enum PrefixKind {
Show 13 variants
Empty,
RefValidFor,
ContentValidFor,
TypeObjValidFor,
SourcePointerValidFor,
TypeSatisfy,
TypeOutlive,
LfParamInstantiatedWith,
LfParamMustOutlive,
LfInstantiatedWith,
LfMustOutlive,
PointerValidFor,
DataValidFor,
}
Variants§
Empty
RefValidFor
ContentValidFor
TypeObjValidFor
SourcePointerValidFor
TypeSatisfy
TypeOutlive
LfParamInstantiatedWith
LfParamMustOutlive
LfInstantiatedWith
LfMustOutlive
PointerValidFor
DataValidFor
Trait Implementations§
source§impl IntoDiagnosticArg for PrefixKind
impl IntoDiagnosticArg for PrefixKind
fn into_diagnostic_arg(self) -> DiagnosticArgValue<'static>
Auto Trait Implementations§
impl RefUnwindSafe for PrefixKind
impl Send for PrefixKind
impl Sync for PrefixKind
impl Unpin for PrefixKind
impl UnwindSafe for PrefixKind
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: 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: 1 byte
Size for each variant:
Empty
: 0 bytesRefValidFor
: 0 bytesContentValidFor
: 0 bytesTypeObjValidFor
: 0 bytesSourcePointerValidFor
: 0 bytesTypeSatisfy
: 0 bytesTypeOutlive
: 0 bytesLfParamInstantiatedWith
: 0 bytesLfParamMustOutlive
: 0 bytesLfInstantiatedWith
: 0 bytesLfMustOutlive
: 0 bytesPointerValidFor
: 0 bytesDataValidFor
: 0 bytes