pub enum CastKind {
PointerExposeProvenance,
PointerWithExposedProvenance,
IntToInt,
FloatToInt,
FloatToFloat,
IntToFloat,
PtrToPtr,
FnPtrToPtr,
Transmute,
BoxDerefTransmute,
Subtype,
PointerCoercion(PointerCoercion),
}🔬This is a nightly-only experimental API. (
custom_mir)Variants§
PointerExposeProvenance
🔬This is a nightly-only experimental API. (
custom_mir)PointerWithExposedProvenance
🔬This is a nightly-only experimental API. (
custom_mir)IntToInt
🔬This is a nightly-only experimental API. (
custom_mir)FloatToInt
🔬This is a nightly-only experimental API. (
custom_mir)FloatToFloat
🔬This is a nightly-only experimental API. (
custom_mir)IntToFloat
🔬This is a nightly-only experimental API. (
custom_mir)PtrToPtr
🔬This is a nightly-only experimental API. (
custom_mir)FnPtrToPtr
🔬This is a nightly-only experimental API. (
custom_mir)Transmute
🔬This is a nightly-only experimental API. (
custom_mir)BoxDerefTransmute
🔬This is a nightly-only experimental API. (
custom_mir)Subtype
🔬This is a nightly-only experimental API. (
custom_mir)PointerCoercion(PointerCoercion)
🔬This is a nightly-only experimental API. (
custom_mir)Auto Trait Implementations§
impl Freeze for CastKind
impl RefUnwindSafe for CastKind
impl Send for CastKind
impl Sync for CastKind
impl Unpin for CastKind
impl UnsafeUnpin for CastKind
impl UnwindSafe for CastKind
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
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Mutably borrows from an owned value. Read more