Struct llvm_ir::instruction::ZExt
source · pub struct ZExt {
pub operand: Operand,
pub to_type: TypeRef,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}
Expand description
Zero-extend. See LLVM 14 docs on the ‘zext’ instruction
Fields§
§operand: Operand
§to_type: TypeRef
§dest: Name
§debugloc: Option<DebugLoc>
Trait Implementations§
source§impl From<ZExt> for Instruction
impl From<ZExt> for Instruction
source§fn from(inst: ZExt) -> Instruction
fn from(inst: ZExt) -> Instruction
Converts to this type from the input type.
source§impl HasDebugLoc for ZExt
impl HasDebugLoc for ZExt
source§impl PartialEq<ZExt> for ZExt
impl PartialEq<ZExt> for ZExt
source§impl TryFrom<Instruction> for ZExt
impl TryFrom<Instruction> for ZExt
impl StructuralPartialEq for ZExt
Auto Trait Implementations§
impl RefUnwindSafe for ZExt
impl Send for ZExt
impl Sync for ZExt
impl Unpin for ZExt
impl UnwindSafe for ZExt
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