Struct llvm_ir::instruction::LandingPad [−][src]
pub struct LandingPad { pub result_type: TypeRef, pub clauses: Vec<LandingPadClause>, pub dest: Name, pub cleanup: bool, pub debugloc: Option<DebugLoc>, }
Expand description
Used for exception handling. See LLVM 12 docs on the ‘landingpad’ instruction
Fields
result_type: TypeRef
clauses: Vec<LandingPadClause>
dest: Name
cleanup: bool
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LandingPad
impl Send for LandingPad
impl Sync for LandingPad
impl Unpin for LandingPad
impl UnwindSafe for LandingPad
Blanket Implementations
Mutably borrows from an owned value. Read more