Struct draw2d::graphics::vulkan::device::QueueFamilyIndices [−][src]
pub struct QueueFamilyIndices { /* fields omitted */ }
Expand description
This struct holds all of the queue indices required by this application.
Implementations
pub fn find(
physical_device: &PhysicalDevice,
ash: &Instance,
window_surface: &dyn WindowSurface
) -> Result<Self>
pub fn find(
physical_device: &PhysicalDevice,
ash: &Instance,
window_surface: &dyn WindowSurface
) -> Result<Self>
Find all of the queue families required by this application.
Yields an Err if any of the queues cannot be found.
The implementation is greedy, e.g. the same queue will be used for multiple operations where possible.
Create a vector of queue create info structs based on the indices.
Automatically handles duplicate indices
Auto Trait Implementations
impl RefUnwindSafe for QueueFamilyIndices
impl Send for QueueFamilyIndices
impl Sync for QueueFamilyIndices
impl Unpin for QueueFamilyIndices
impl UnwindSafe for QueueFamilyIndices
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.