Trait gluon_vm::stack::StackState
source · pub trait StackState: CopyUnrooted + Sized {
// Required methods
fn from_state(state: &State) -> &Self;
fn from_state_mut(state: &mut State) -> &mut Self;
fn to_state(&self) -> Borrow<'_, State>;
fn max_stack_size(&self) -> VmIndex;
}
Required Methods§
fn from_state(state: &State) -> &Self
fn from_state_mut(state: &mut State) -> &mut Self
fn to_state(&self) -> Borrow<'_, State>
fn max_stack_size(&self) -> VmIndex
Object Safety§
This trait is not object safe.