Trait massa_models::prehash::CapacityAllocator
source · pub trait CapacityAllocator {
// Required method
fn with_capacity(capacity: usize) -> Self;
}
Expand description
Trait allowing pre-allocations
Required Methods§
sourcefn with_capacity(capacity: usize) -> Self
fn with_capacity(capacity: usize) -> Self
pre-allocate with a given capacity
Object Safety§
This trait is not object safe.