Struct llvm_ir::instruction::BitCast [−][src]
pub struct BitCast {
pub operand: Operand,
pub to_type: TypeRef,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}Expand description
Convert between types without changing any bits. See LLVM 12 docs on the ‘bitcast’ instruction
Fields
operand: Operandto_type: TypeRefdest: Namedebugloc: Option<DebugLoc>Trait Implementations
Performs the conversion.
Returns the DebugLoc associated with the given Instruction,
Terminator, GlobalVariable, or Function; or None if it doesn’t
have a DebugLoc. Read more
Auto Trait Implementations
impl RefUnwindSafe for BitCastimpl UnwindSafe for BitCastBlanket Implementations
Mutably borrows from an owned value. Read more