pub enum QueueFamily {
Explicit(u32),
External,
Foreign,
}Expand description
One side of a QueueFamilyOwnershipTransfer.
The named variants stand for the queue families that Vulkan reserves for
resources shared outside the current device; Explicit carries an
ordinary queue family index, such as the one returned by
vulkan::Device::queue_family_index.
Variants§
Explicit(u32)
A specific queue family, identified by its index.
External
The queue family of an external, non-Vulkan API
(VK_QUEUE_FAMILY_EXTERNAL).
Foreign
The queue family of a foreign consumer of the memory, such as a
different device or the kernel (VK_QUEUE_FAMILY_FOREIGN_EXT).
Requires the VK_EXT_queue_family_foreign extension.
Trait Implementations§
Source§impl Clone for QueueFamily
impl Clone for QueueFamily
impl Copy for QueueFamily
Source§impl Debug for QueueFamily
impl Debug for QueueFamily
impl Eq for QueueFamily
Source§impl PartialEq for QueueFamily
impl PartialEq for QueueFamily
impl StructuralPartialEq for QueueFamily
Auto Trait Implementations§
impl Forget for QueueFamily
impl Freeze for QueueFamily
impl Move for QueueFamily
impl RefUnwindSafe for QueueFamily
impl Send for QueueFamily
impl Sync for QueueFamily
impl Unpin for QueueFamily
impl UnsafeUnpin for QueueFamily
impl UnwindSafe for QueueFamily
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.