Trait MaxStackSizeExt
pub trait MaxStackSizeExt {
// Required method
fn max_stack_size(&self) -> i32;
// Provided method
fn stackable(&self) -> bool { ... }
}Required Methods§
fn max_stack_size(&self) -> i32
fn max_stack_size(&self) -> i32
Get the maximum stack size for this item.
This is a signed integer to be consistent with the count field of
ItemStackData.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".