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§

source

fn new( name: Option<&'static str>, requirements: MemoryRequirements, location: Self::MemoryLocation, linear: bool ) -> Self

Object Safety§

This trait is not object safe.

Implementors§