Enum rustc_const_eval::interpret::machine::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§
source§impl Clone for StackPopJump
impl Clone for StackPopJump
source§fn clone(&self) -> StackPopJump
fn clone(&self) -> StackPopJump
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 StackPopJump
impl Debug for StackPopJump
source§impl PartialEq<StackPopJump> for StackPopJump
impl PartialEq<StackPopJump> for StackPopJump
source§fn eq(&self, other: &StackPopJump) -> bool
fn eq(&self, other: &StackPopJump) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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
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