pub struct QueueCreateInfo {
pub flags: QueueCreateFlags,
pub queue_family_index: u32,
pub queues: Vec<f32>,
pub _ne: NonExhaustive,
}Expand description
Parameters to create queues in a new Device.
Fields§
§flags: QueueCreateFlagsAdditional properties of the queue.
The default value is empty.
queue_family_index: u32The index of the queue family to create queues for.
The default value is 0.
queues: Vec<f32>The queues to create for the given queue family, each with a relative priority.
The relative priority value is an arbitrary number between 0.0 and 1.0. Giving a queue a higher priority is a hint to the driver that the queue should be given more processing time. As this is only a hint, different drivers may handle this value differently and there are no guarantees about its behavior.
The default value is a single queue with a priority of 0.5.
_ne: NonExhaustiveTrait Implementations§
Source§impl Clone for QueueCreateInfo
impl Clone for QueueCreateInfo
Source§fn clone(&self) -> QueueCreateInfo
fn clone(&self) -> QueueCreateInfo
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 QueueCreateInfo
impl Debug for QueueCreateInfo
Source§impl Default for QueueCreateInfo
impl Default for QueueCreateInfo
Source§fn default() -> QueueCreateInfo
fn default() -> QueueCreateInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueueCreateInfo
impl RefUnwindSafe for QueueCreateInfo
impl Send for QueueCreateInfo
impl Sync for QueueCreateInfo
impl Unpin for QueueCreateInfo
impl UnwindSafe for QueueCreateInfo
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