pub struct QueueSetup {
pub flags: DeviceQueueCreateFlags,
pub queue_family_index: u32,
pub queue_priorities: Vec<c_float>,
}Expand description
Setup for vk::Queue creation. Used within CustomQueueSetupFn.
The Hash and PartialEq implementations on this struct only
compare queue_family_index.
Fields§
§flags: DeviceQueueCreateFlagsFlags used to specify usage behavior of the queue.
queue_family_index: u32Index of the queue family in the queue family array.
queue_priorities: Vec<c_float>Specifies the amount of queues and the respective priority for each.
Implementations§
Source§impl QueueSetup
impl QueueSetup
Sourcepub fn simple(queue_family_index: u32, queue_count: usize) -> QueueSetup
pub fn simple(queue_family_index: u32, queue_count: usize) -> QueueSetup
Create a new custom queue setup with simplified arguments. Queue priorities will all be 1.0 and all flags will be empty.
Trait Implementations§
Source§impl Clone for QueueSetup
impl Clone for QueueSetup
Source§fn clone(&self) -> QueueSetup
fn clone(&self) -> QueueSetup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueueSetup
impl Debug for QueueSetup
Source§impl Hash for QueueSetup
impl Hash for QueueSetup
Source§impl PartialEq for QueueSetup
impl PartialEq for QueueSetup
impl Eq for QueueSetup
Auto Trait Implementations§
impl Freeze for QueueSetup
impl RefUnwindSafe for QueueSetup
impl Send for QueueSetup
impl Sync for QueueSetup
impl Unpin for QueueSetup
impl UnwindSafe for QueueSetup
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