[][src]Struct llvm_ir::instruction::FPTrunc

pub struct FPTrunc {
    pub operand: Operand,
    pub to_type: TypeRef,
    pub dest: Name,
    pub debugloc: Option<DebugLoc>,
}

Truncate a floating-point value. See LLVM 10 docs on the 'fptrunc' instruction

Fields

operand: Operandto_type: TypeRefdest: Namedebugloc: Option<DebugLoc>

Trait Implementations

impl Clone for FPTrunc[src]

impl Debug for FPTrunc[src]

impl From<FPTrunc> for Instruction[src]

impl HasDebugLoc for FPTrunc[src]

impl HasResult for FPTrunc[src]

impl PartialEq<FPTrunc> for FPTrunc[src]

impl StructuralPartialEq for FPTrunc[src]

impl TryFrom<Instruction> for FPTrunc[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl Typed for FPTrunc[src]

impl UnaryOp for FPTrunc[src]

Auto Trait Implementations

impl RefUnwindSafe for FPTrunc

impl Send for FPTrunc

impl Sync for FPTrunc

impl Unpin for FPTrunc

impl UnwindSafe for FPTrunc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.