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
sourceimpl Clone for CleanupPad
impl Clone for CleanupPad
sourcefn clone(&self) -> CleanupPad
fn clone(&self) -> CleanupPad
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CleanupPad
impl Debug for CleanupPad
sourceimpl Display for CleanupPad
impl Display for CleanupPad
sourceimpl From<CleanupPad> for Instruction
impl From<CleanupPad> for Instruction
sourcefn from(inst: CleanupPad) -> Instruction
fn from(inst: CleanupPad) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for CleanupPad
impl HasDebugLoc for CleanupPad
sourcefn get_debug_loc(&self) -> &Option<DebugLoc>
fn get_debug_loc(&self) -> &Option<DebugLoc>
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
sourceimpl HasResult for CleanupPad
impl HasResult for CleanupPad
fn get_result(&self) -> &Name
sourceimpl PartialEq<CleanupPad> for CleanupPad
impl PartialEq<CleanupPad> for CleanupPad
sourcefn 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 ==
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more