pub struct QueueFamilies(pub Vec<QueueFamilyProperties>);
Expand description
List of queue families
Tuple Fields§
§0: Vec<QueueFamilyProperties>
Implementations§
Source§impl QueueFamilies
impl QueueFamilies
Sourcepub fn find_matching_index(&self, flags: QueueFlags) -> Option<u32>
pub fn find_matching_index(&self, flags: QueueFlags) -> Option<u32>
Find a queue family index containing specified bitflags
Sourcepub fn find_another_matching_index(
&self,
flags: QueueFlags,
exclude: u32,
) -> Option<u32>
pub fn find_another_matching_index( &self, flags: QueueFlags, exclude: u32, ) -> Option<u32>
Find a queue family index containing specified bitflags
pub fn iter(&self) -> impl Iterator<Item = &QueueFamilyProperties>
Sourcepub fn queue_count(&self, family_index: u32) -> u32
pub fn queue_count(&self, family_index: u32) -> u32
Number of queues in selected queue family
Sourcepub fn timestamp_valid_bits(&self, family_index: u32) -> u32
pub fn timestamp_valid_bits(&self, family_index: u32) -> u32
Unsigned integer count of meaningful bits in the timestamps written via vkCmdWriteTimestamp
Sourcepub fn minimum_image_transfer_granularity(&self, family_index: u32) -> &Extent3D
pub fn minimum_image_transfer_granularity(&self, family_index: u32) -> &Extent3D
Minimum granularity supported for image transfer operations on the queues in selected queue family
Auto Trait Implementations§
impl Freeze for QueueFamilies
impl RefUnwindSafe for QueueFamilies
impl Send for QueueFamilies
impl Sync for QueueFamilies
impl Unpin for QueueFamilies
impl UnwindSafe for QueueFamilies
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