Enum rustc::ty::cast::CastKind [] [src]

pub enum CastKind {
    CoercionCast,
    PtrPtrCast,
    PtrAddrCast,
    AddrPtrCast,
    NumericCast,
    EnumCast,
    PrimIntCast,
    U8CharCast,
    ArrayPtrCast,
    FnPtrPtrCast,
    FnPtrAddrCast,
}
Unstable (rustc_private)

Cast Kind. See RFC 401 (or librustc_typeck/check/cast.rs)

Variants

CoercionCast
Unstable (rustc_private)
PtrPtrCast
Unstable (rustc_private)
PtrAddrCast
Unstable (rustc_private)
AddrPtrCast
Unstable (rustc_private)
NumericCast
Unstable (rustc_private)
EnumCast
Unstable (rustc_private)
PrimIntCast
Unstable (rustc_private)
U8CharCast
Unstable (rustc_private)
ArrayPtrCast
Unstable (rustc_private)
FnPtrPtrCast
Unstable (rustc_private)
FnPtrAddrCast
Unstable (rustc_private)

Trait Implementations

Derived Implementations

impl Decodable for CastKind
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<CastKind, __D::Error>

impl Encodable for CastKind
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Debug for CastKind
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for CastKind
[src]

fn clone(&self) -> CastKind

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for CastKind
[src]