Struct llvm_ir::terminator::CatchSwitch
source · 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>,
}
Expand description
Fields§
§parent_pad: Operand
§catch_handlers: Vec<Name>
Cannot be empty
default_unwind_dest: Option<Name>
None
here indicates ‘unwind to caller’
result: Name
§debugloc: Option<DebugLoc>
Trait Implementations§
source§impl Clone for CatchSwitch
impl Clone for CatchSwitch
source§fn clone(&self) -> CatchSwitch
fn clone(&self) -> CatchSwitch
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CatchSwitch
impl Debug for CatchSwitch
source§impl Display for CatchSwitch
impl Display for CatchSwitch
source§impl From<CatchSwitch> for Terminator
impl From<CatchSwitch> for Terminator
source§fn from(term: CatchSwitch) -> Terminator
fn from(term: CatchSwitch) -> Terminator
Converts to this type from the input type.
source§impl HasDebugLoc for CatchSwitch
impl HasDebugLoc for CatchSwitch
source§impl HasResult for CatchSwitch
impl HasResult for CatchSwitch
fn get_result(&self) -> &Name
source§impl PartialEq<CatchSwitch> for CatchSwitch
impl PartialEq<CatchSwitch> for CatchSwitch
source§fn eq(&self, other: &CatchSwitch) -> bool
fn eq(&self, other: &CatchSwitch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Terminator> for CatchSwitch
impl TryFrom<Terminator> for CatchSwitch
impl StructuralPartialEq for CatchSwitch
Auto Trait Implementations§
impl RefUnwindSafe for CatchSwitch
impl Send for CatchSwitch
impl Sync for CatchSwitch
impl Unpin for CatchSwitch
impl UnwindSafe for CatchSwitch
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more