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]
impl Encodable for CastKind
[src]
impl Debug for CastKind
[src]
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