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§

Object Safety§

This trait is not object safe.

Implementors§