Struct llvm_ir::instruction::Select[][src]

pub struct Select {
    pub condition: Operand,
    pub true_value: Operand,
    pub false_value: Operand,
    pub dest: Name,
    pub debugloc: Option<DebugLoc>,
}

Choose between two values depending on a condition. See LLVM 12 docs on the 'select' instruction

Fields

condition: Operandtrue_value: Operandfalse_value: Operanddest: Namedebugloc: Option<DebugLoc>

Trait Implementations

impl Clone for Select[src]

impl Debug for Select[src]

impl Display for Select[src]

impl From<Select> for Instruction[src]

impl HasDebugLoc for Select[src]

impl HasResult for Select[src]

impl PartialEq<Select> for Select[src]

impl StructuralPartialEq for Select[src]

impl TryFrom<Instruction> for Select[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl Typed for Select[src]

Auto Trait Implementations

impl RefUnwindSafe for Select[src]

impl Send for Select[src]

impl Sync for Select[src]

impl Unpin for Select[src]

impl UnwindSafe for Select[src]

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> ToString for T where
    T: Display + ?Sized
[src]

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.