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: Operanddests: Vec<(ConstantRef, Name)>default_dest: Namedebugloc: 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 Switchimpl UnwindSafe for SwitchBlanket Implementations
Mutably borrows from an owned value. Read more