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 duplicate 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 Hash for CleanupPad
impl Hash for CleanupPad
Source§impl PartialEq for CleanupPad
impl PartialEq for CleanupPad
Source§impl TryFrom<Instruction> for CleanupPad
impl TryFrom<Instruction> for CleanupPad
impl StructuralPartialEq for CleanupPad
Auto Trait Implementations§
impl Freeze for CleanupPad
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more