[][src]Trait rendy_factory::QueuesConfigure

pub unsafe trait QueuesConfigure {
    type Priorities: AsRef<[f32]>;
    type Families: IntoIterator<Item = (FamilyId, Self::Priorities)>;
    fn configure(
        self,
        device: DeviceId,
        families: &[impl QueueFamily]
    ) -> Self::Families; }

Queues configuration.

Method configure receives collection of queue families and returns an iterator over family ids and number of queues.

Associated Types

type Priorities: AsRef<[f32]>

Slice of priorities.

type Families: IntoIterator<Item = (FamilyId, Self::Priorities)>

Iterator over families to create.

Loading content...

Required methods

fn configure(
    self,
    device: DeviceId,
    families: &[impl QueueFamily]
) -> Self::Families

Configure.

Loading content...

Implementors

impl QueuesConfigure for OneGraphicsQueue[src]

type Priorities = [f32; 1]

type Families = Option<(FamilyId, [f32; 1])>

impl QueuesConfigure for SavedQueueConfig[src]

type Priorities = Vec<f32>

type Families = Vec<(FamilyId, Vec<f32>)>

Loading content...