Struct llvm_ir::instruction::CleanupPad
source · pub struct CleanupPad {
pub parent_pad: Operand,
pub args: Vec<Operand>,
pub dest: Name,
pub debugloc: Option<DebugLoc>,
}
Expand description
Used for exception handling. See LLVM 14 docs on the ‘cleanuppad’ instruction
Fields§
§parent_pad: Operand
§args: Vec<Operand>
§dest: Name
§debugloc: Option<DebugLoc>
Trait Implementations§
source§impl Clone for CleanupPad
impl Clone for CleanupPad
source§fn clone(&self) -> CleanupPad
fn clone(&self) -> CleanupPad
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 CleanupPad
impl Debug for CleanupPad
source§impl Display for CleanupPad
impl Display for CleanupPad
source§impl From<CleanupPad> for Instruction
impl From<CleanupPad> for Instruction
source§fn from(inst: CleanupPad) -> Instruction
fn from(inst: CleanupPad) -> Instruction
Converts to this type from the input type.
source§impl HasDebugLoc for CleanupPad
impl HasDebugLoc for CleanupPad
source§impl HasResult for CleanupPad
impl HasResult for CleanupPad
fn get_result(&self) -> &Name
source§impl PartialEq<CleanupPad> for CleanupPad
impl PartialEq<CleanupPad> for CleanupPad
source§fn eq(&self, other: &CleanupPad) -> bool
fn eq(&self, other: &CleanupPad) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Instruction> for CleanupPad
impl TryFrom<Instruction> for CleanupPad
impl StructuralPartialEq for CleanupPad
Auto Trait Implementations§
impl RefUnwindSafe for CleanupPad
impl Send for CleanupPad
impl Sync for CleanupPad
impl Unpin for CleanupPad
impl UnwindSafe for CleanupPad
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