[][src]Struct rendy_core::hal::queue::QueueGroup

pub struct QueueGroup<B> where
    B: Backend
{ pub family: QueueFamilyId, pub queues: Vec<<B as Backend>::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 as Backend>::CommandQueue>

List of queues.

Implementations

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

pub fn new(family: QueueFamilyId) -> QueueGroup<B>[src]

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

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

Add a command queue to the group.

The queue needs to be created from this queue family.

Trait Implementations

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

Auto Trait Implementations

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

impl<B> Send for QueueGroup<B> where
    <B as Backend>::CommandQueue: Send

impl<B> Sync for QueueGroup<B> where
    <B as Backend>::CommandQueue: Sync

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

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

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.