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
Source§fn clone(&self) -> QueueFamily
fn clone(&self) -> QueueFamily
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 QueueFamily
impl Debug for QueueFamily
Source§impl PartialEq for QueueFamily
impl PartialEq for QueueFamily
impl Copy for QueueFamily
impl Eq for QueueFamily
impl StructuralPartialEq for QueueFamily
Auto Trait Implementations§
impl Freeze for QueueFamily
impl RefUnwindSafe for QueueFamily
impl Send for QueueFamily
impl Sync for QueueFamily
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more