pub enum CastOp {
Show 13 variants
Trunc,
ZExt,
SExt,
FPTrunc,
FPExt,
FPToUI,
FPToSI,
UIToFP,
SIToFP,
PtrToInt,
IntToPtr,
BitCast,
AddrSpaceCast,
}Variants§
Implementations§
Trait Implementations§
impl Copy for CastOp
impl Eq for CastOp
impl StructuralPartialEq for CastOp
Auto Trait Implementations§
impl Freeze for CastOp
impl RefUnwindSafe for CastOp
impl Send for CastOp
impl Sync for CastOp
impl Unpin for CastOp
impl UnsafeUnpin for CastOp
impl UnwindSafe for CastOp
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