pub struct QueueGroup<B>where
B: Backend,{
pub family: QueueFamilyId,
pub queues: Vec<<B as Backend>::CommandQueue>,
}
Expand description
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§
Source§impl<B> QueueGroup<B>where
B: Backend,
impl<B> QueueGroup<B>where
B: Backend,
Sourcepub fn new(family: QueueFamilyId) -> QueueGroup<B>
pub fn new(family: QueueFamilyId) -> QueueGroup<B>
Create a new, empty queue group for a queue family.
Sourcepub fn add_queue(&mut self, queue: <B as Backend>::CommandQueue)
pub fn add_queue(&mut self, queue: <B as Backend>::CommandQueue)
Add a command queue to the group.
The queue needs to be created from this queue family.
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for QueueGroup<B>
impl<B> RefUnwindSafe for QueueGroup<B>
impl<B> Send for QueueGroup<B>
impl<B> Sync for QueueGroup<B>
impl<B> Unpin for QueueGroup<B>
impl<B> UnwindSafe for QueueGroup<B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more