[−][src]Enum rustc_mir::interpret::StackPopCleanup
Variants
Jump to the next block in the caller, or cause UB if None (that's a function
that may never return). Also store layout of return place so
we can validate it at that layout.
ret stores the block we jump to on a normal return, while unwind
stores the block used for cleanup during unwinding.
Fields of Goto
ret: Option<BasicBlock>unwind: Option<BasicBlock>Just do nothing: Used by Main and for the box_alloc hook in miri.
cleanup says whether locals are deallocated. Static computation
wants them leaked to intern what they need (and just throw away
the entire ecx when it is done).
Fields of None
cleanup: boolTrait Implementations
impl Clone for StackPopCleanup[src]
pub fn clone(&self) -> StackPopCleanup[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for StackPopCleanup[src]
impl Eq for StackPopCleanup[src]
impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for StackPopCleanup[src]
pub fn hash_stable(
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)[src]
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)
impl PartialEq<StackPopCleanup> for StackPopCleanup[src]
pub fn eq(&self, other: &StackPopCleanup) -> bool[src]
pub fn ne(&self, other: &StackPopCleanup) -> bool[src]
impl StructuralEq for StackPopCleanup[src]
impl StructuralPartialEq for StackPopCleanup[src]
Auto Trait Implementations
impl RefUnwindSafe for StackPopCleanup
impl Send for StackPopCleanup
impl Sync for StackPopCleanup
impl Unpin for StackPopCleanup
impl UnwindSafe for StackPopCleanup
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.