Struct llvm_ir::terminator::CleanupRet
source · pub struct CleanupRet {
pub cleanup_pad: Operand,
pub unwind_dest: Option<Name>,
pub debugloc: Option<DebugLoc>,
}
Expand description
Fields§
§cleanup_pad: Operand
§unwind_dest: Option<Name>
None
here indicates ‘unwind to caller’
debugloc: Option<DebugLoc>
Trait Implementations§
source§impl Clone for CleanupRet
impl Clone for CleanupRet
source§fn clone(&self) -> CleanupRet
fn clone(&self) -> CleanupRet
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 CleanupRet
impl Debug for CleanupRet
source§impl Display for CleanupRet
impl Display for CleanupRet
source§impl From<CleanupRet> for Terminator
impl From<CleanupRet> for Terminator
source§fn from(term: CleanupRet) -> Terminator
fn from(term: CleanupRet) -> Terminator
Converts to this type from the input type.
source§impl HasDebugLoc for CleanupRet
impl HasDebugLoc for CleanupRet
source§impl PartialEq for CleanupRet
impl PartialEq for CleanupRet
source§fn eq(&self, other: &CleanupRet) -> bool
fn eq(&self, other: &CleanupRet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Terminator> for CleanupRet
impl TryFrom<Terminator> for CleanupRet
impl StructuralPartialEq for CleanupRet
Auto Trait Implementations§
impl Freeze for CleanupRet
impl RefUnwindSafe for CleanupRet
impl Send for CleanupRet
impl Sync for CleanupRet
impl Unpin for CleanupRet
impl UnwindSafe for CleanupRet
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> 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