Struct llvm_ir::terminator::Switch [−][src]
pub struct Switch { pub operand: Operand, pub dests: Vec<(ConstantRef, Name)>, pub default_dest: Name, pub debugloc: Option<DebugLoc>, }
Expand description
Fields
operand: Operand
dests: Vec<(ConstantRef, Name)>
default_dest: Name
debugloc: 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
Auto Trait Implementations
impl RefUnwindSafe for Switch
impl UnwindSafe for Switch
Blanket Implementations
Mutably borrows from an owned value. Read more