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