Struct llvm_ir::instruction::LandingPad
source · 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 14 docs on the ‘landingpad’ instruction
Fields§
§result_type: TypeRef
§clauses: Vec<LandingPadClause>
§dest: Name
§cleanup: bool
§debugloc: Option<DebugLoc>
Trait Implementations§
source§impl Clone for LandingPad
impl Clone for LandingPad
source§fn clone(&self) -> LandingPad
fn clone(&self) -> LandingPad
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 LandingPad
impl Debug for LandingPad
source§impl Display for LandingPad
impl Display for LandingPad
source§impl From<LandingPad> for Instruction
impl From<LandingPad> for Instruction
source§fn from(inst: LandingPad) -> Instruction
fn from(inst: LandingPad) -> Instruction
Converts to this type from the input type.
source§impl HasDebugLoc for LandingPad
impl HasDebugLoc for LandingPad
source§impl HasResult for LandingPad
impl HasResult for LandingPad
fn get_result(&self) -> &Name
source§impl PartialEq<LandingPad> for LandingPad
impl PartialEq<LandingPad> for LandingPad
source§fn eq(&self, other: &LandingPad) -> bool
fn eq(&self, other: &LandingPad) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Instruction> for LandingPad
impl TryFrom<Instruction> for LandingPad
impl StructuralPartialEq for LandingPad
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§
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