pub trait DataStackPack: Sized {
// Required methods
fn stack_push(self, stack: &mut DataStack);
fn stack_pop(stack: &mut DataStack) -> Self;
fn pack_types() -> Vec<TypeHash>;
// Provided method
fn stack_push_reversed(self, stack: &mut DataStack) { ... }
}
Required Methods§
fn stack_push(self, stack: &mut DataStack)
fn stack_pop(stack: &mut DataStack) -> Self
fn pack_types() -> Vec<TypeHash>
Provided Methods§
fn stack_push_reversed(self, stack: &mut DataStack)
Object Safety§
This trait is not object safe.