Enum rustc_const_eval::interpret::StackPopJump
source · pub enum StackPopJump {
Normal,
NoJump,
}
Expand description
Data returned by Machine::stack_pop, to provide further control over the popping of the stack frame
Variants
Normal
Indicates that no special handling should be done - we’ll either return normally or unwind based on the terminator for the function we’re leaving.
NoJump
Indicates that we should not jump to the return/unwind address, as the callback already took care of everything.
Trait Implementations
sourceimpl Clone for StackPopJump
impl Clone for StackPopJump
sourcefn clone(&self) -> StackPopJump
fn clone(&self) -> StackPopJump
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 moresourceimpl Debug for StackPopJump
impl Debug for StackPopJump
sourceimpl PartialEq<StackPopJump> for StackPopJump
impl PartialEq<StackPopJump> for StackPopJump
sourcefn eq(&self, other: &StackPopJump) -> bool
fn eq(&self, other: &StackPopJump) -> bool
impl Copy for StackPopJump
impl Eq for StackPopJump
impl StructuralEq for StackPopJump
impl StructuralPartialEq for StackPopJump
Auto Trait Implementations
impl RefUnwindSafe for StackPopJump
impl Send for StackPopJump
impl Sync for StackPopJump
impl Unpin for StackPopJump
impl UnwindSafe for StackPopJump
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Normal
: 0 bytesNoJump
: 0 bytes