[][src]Struct llvm_ir::terminator::CatchSwitch

pub struct CatchSwitch {
    pub parent_pad: Operand,
    pub catch_handlers: Vec<Name>,
    pub default_unwind_dest: Option<Name>,
    pub result: Name,
    pub debugloc: Option<DebugLoc>,
}

Fields

parent_pad: Operandcatch_handlers: Vec<Name>

Cannot be empty

default_unwind_dest: Option<Name>

None here indicates 'unwind to caller'

result: Namedebugloc: Option<DebugLoc>

Trait Implementations

impl Clone for CatchSwitch[src]

impl Debug for CatchSwitch[src]

impl From<CatchSwitch> for Terminator[src]

impl HasDebugLoc for CatchSwitch[src]

impl HasResult for CatchSwitch[src]

impl PartialEq<CatchSwitch> for CatchSwitch[src]

impl StructuralPartialEq for CatchSwitch[src]

impl TryFrom<Terminator> for CatchSwitch[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl Typed for CatchSwitch[src]

Auto Trait Implementations

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.