pub unsafe trait HeapsConfigure {
type Types: IntoIterator<Item = (Properties, u32, HeapsConfig)>;
type Heaps: IntoIterator<Item = u64>;
// Required method
fn configure(
&self,
properties: &MemoryProperties,
) -> (Self::Types, Self::Heaps);
}
Expand description
Heaps configuration.
Method configure
receives memory properties and
emits iterator memory types together with configurations for allocators and
iterator over heaps sizes.
Required Associated Types§
Sourcetype Types: IntoIterator<Item = (Properties, u32, HeapsConfig)>
type Types: IntoIterator<Item = (Properties, u32, HeapsConfig)>
Iterator over memory types.
Sourcetype Heaps: IntoIterator<Item = u64>
type Heaps: IntoIterator<Item = u64>
Iterator over heaps.
Required Methods§
Sourcefn configure(&self, properties: &MemoryProperties) -> (Self::Types, Self::Heaps)
fn configure(&self, properties: &MemoryProperties) -> (Self::Types, Self::Heaps)
Configure.