pub trait AllocationCreateInfo {
type MemoryLocation: MemoryLocation;
// Required method
fn new(
name: Option<&'static str>,
requirements: MemoryRequirements,
location: Self::MemoryLocation,
linear: bool,
) -> Self;
}Expand description
allocation create info for Allocator::allocate.
Required Associated Types§
Required Methods§
fn new( name: Option<&'static str>, requirements: MemoryRequirements, location: Self::MemoryLocation, linear: bool, ) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.