Struct gfx_hal::queue::family::QueueGroup[][src]

pub struct QueueGroup<B: Backend> {
    pub family: QueueFamilyId,
    pub queues: Vec<B::CommandQueue>,
}

Bare-metal queue group.

Denotes all queues created from one queue family.

Fields

family: QueueFamilyId

Family index for the queues in this group.

queues: Vec<B::CommandQueue>

List of queues.

Implementations

impl<B: Backend> QueueGroup<B>[src]

pub fn new(family: QueueFamilyId) -> Self[src]

Create a new, empty queue group for a queue family.

pub fn add_queue(&mut self, queue: B::CommandQueue)[src]

Add a command queue to the group.

The queue needs to be created from this queue family.

Trait Implementations

impl<B: Debug + Backend> Debug for QueueGroup<B> where
    B::CommandQueue: Debug
[src]

Auto Trait Implementations

impl<B> RefUnwindSafe for QueueGroup<B> where
    <B as Backend>::CommandQueue: RefUnwindSafe
[src]

impl<B> Send for QueueGroup<B>[src]

impl<B> Sync for QueueGroup<B>[src]

impl<B> Unpin for QueueGroup<B> where
    <B as Backend>::CommandQueue: Unpin
[src]

impl<B> UnwindSafe for QueueGroup<B> where
    <B as Backend>::CommandQueue: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.