Struct llvm_ir::terminator::CatchRet
source · [−]pub struct CatchRet {
pub catch_pad: Operand,
pub successor: Name,
pub debugloc: Option<DebugLoc>,
}
Expand description
Fields
catch_pad: Operand
successor: Name
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl From<CatchRet> for Terminator
impl From<CatchRet> for Terminator
sourcefn from(term: CatchRet) -> Terminator
fn from(term: CatchRet) -> Terminator
Converts to this type from the input type.
sourceimpl HasDebugLoc for CatchRet
impl HasDebugLoc for CatchRet
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 PartialEq<CatchRet> for CatchRet
impl PartialEq<CatchRet> for CatchRet
sourceimpl TryFrom<Terminator> for CatchRet
impl TryFrom<Terminator> for CatchRet
impl StructuralPartialEq for CatchRet
Auto Trait Implementations
impl RefUnwindSafe for CatchRet
impl Send for CatchRet
impl Sync for CatchRet
impl Unpin for CatchRet
impl UnwindSafe for CatchRet
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