Struct ccthw::graphics::vulkan_api::Queue
source · pub struct Queue { /* private fields */ }
Expand description
A Vulkan device queue.
The raw Ash Queue handle can be acquired through the VulkanHandle trait.
Implementations§
source§impl Queue
impl Queue
sourcepub fn family_flags(&self) -> QueueFlags
pub fn family_flags(&self) -> QueueFlags
The queue family flags.
sourcepub fn family_index(&self) -> u32
pub fn family_index(&self) -> u32
The queue family index for this queue.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Queue
impl Send for Queue
impl Sync for Queue
impl Unpin for Queue
impl UnwindSafe for Queue
Blanket Implementations§
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.