Struct llvm_ir::instruction::AddrSpaceCast [−][src]
pub struct AddrSpaceCast {
pub operand: Operand,
pub to_type: TypeRef,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}Expand description
Convert a pointer to a different address space. See LLVM 12 docs on the ‘addrspacecast’ 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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for AddrSpaceCastimpl Send for AddrSpaceCastimpl Sync for AddrSpaceCastimpl Unpin for AddrSpaceCastimpl UnwindSafe for AddrSpaceCastBlanket Implementations
Mutably borrows from an owned value. Read more