[][src]Trait rendy_factory::HeapsConfigure

pub unsafe trait HeapsConfigure {
    type Types: IntoIterator<Item = (Properties, u32, HeapsConfig)>;
    type Heaps: IntoIterator<Item = u64>;
    fn configure(
        &self,
        properties: &MemoryProperties
    ) -> (Self::Types, Self::Heaps); }

Heaps configuration.

Method configure receives memory properties and emits iterator memory types together with configurations for allocators and iterator over heaps sizes.

Associated Types

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

Iterator over memory types.

type Heaps: IntoIterator<Item = u64>

Iterator over heaps.

Loading content...

Required methods

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

Configure.

Loading content...

Implementors

impl HeapsConfigure for BasicHeapsConfigure[src]

type Types = Vec<(Properties, u32, HeapsConfig)>

type Heaps = Vec<u64>

impl HeapsConfigure for SavedHeapsConfig[src]

type Types = Vec<(Properties, u32, HeapsConfig)>

type Heaps = Vec<u64>

Loading content...