Enum rustc_symbol_mangling::ty::cast::CastKind [−][src]
pub enum CastKind {
CoercionCast,
PtrPtrCast,
PtrAddrCast,
AddrPtrCast,
NumericCast,
EnumCast,
PrimIntCast,
U8CharCast,
ArrayPtrCast,
FnPtrPtrCast,
FnPtrAddrCast,
}Expand description
Cast Kind. See RFC 401 (or librustc_typeck/check/cast.rs).
Variants
CoercionCast
PtrPtrCast
PtrAddrCast
AddrPtrCast
NumericCast
EnumCast
PrimIntCast
U8CharCast
ArrayPtrCast
FnPtrPtrCast
FnPtrAddrCast
Auto Trait Implementations
impl RefUnwindSafe for CastKind
impl UnwindSafe for CastKind
Blanket Implementations
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:
CoercionCast: 0 bytesPtrPtrCast: 0 bytesPtrAddrCast: 0 bytesAddrPtrCast: 0 bytesNumericCast: 0 bytesEnumCast: 0 bytesPrimIntCast: 0 bytesU8CharCast: 0 bytesArrayPtrCast: 0 bytesFnPtrPtrCast: 0 bytesFnPtrAddrCast: 0 bytes