rendy_factory

Trait HeapsConfigure

Source
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§

Source

type Types: IntoIterator<Item = (Properties, u32, HeapsConfig)>

Iterator over memory types.

Source

type Heaps: IntoIterator<Item = u64>

Iterator over heaps.

Required Methods§

Source

fn configure(&self, properties: &MemoryProperties) -> (Self::Types, Self::Heaps)

Configure.

Implementors§