#[repr(C)]pub enum VkQueueFlagBits {
VK_QUEUE_GRAPHICS_BIT = 1,
VK_QUEUE_COMPUTE_BIT = 2,
VK_QUEUE_TRANSFER_BIT = 4,
VK_QUEUE_SPARSE_BINDING_BIT = 8,
VK_QUEUE_PROTECTED_BIT = 16,
VK_QUEUE_VIDEO_DECODE_BIT_KHR = 32,
VK_QUEUE_VIDEO_ENCODE_BIT_KHR = 64,
VK_QUEUE_OPTICAL_FLOW_BIT_NV = 256,
VK_QUEUE_DATA_GRAPH_BIT_ARM = 1_024,
VK_QUEUE_FLAG_BITS_MAX_ENUM = 2_147_483_647,
}Expand description
enum VkQueueFlagBits from VK_VERSION_1_0
Variants§
VK_QUEUE_GRAPHICS_BIT = 1
VK_QUEUE_COMPUTE_BIT = 2
VK_QUEUE_TRANSFER_BIT = 4
VK_QUEUE_SPARSE_BINDING_BIT = 8
VK_QUEUE_PROTECTED_BIT = 16
VK_QUEUE_VIDEO_DECODE_BIT_KHR = 32
VK_QUEUE_VIDEO_ENCODE_BIT_KHR = 64
VK_QUEUE_OPTICAL_FLOW_BIT_NV = 256
VK_QUEUE_DATA_GRAPH_BIT_ARM = 1_024
VK_QUEUE_FLAG_BITS_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkQueueFlagBits
impl VkQueueFlagBits
Sourcepub fn combine(bits: &[Self]) -> VkQueueFlags
pub fn combine(bits: &[Self]) -> VkQueueFlags
Combine bits together
Sourcepub fn check(value: VkQueueFlags, bits: Self) -> bool
pub fn check(value: VkQueueFlags, bits: Self) -> bool
Check if the bitfield has a value
Trait Implementations§
Source§impl BitAnd for VkQueueFlagBits
impl BitAnd for VkQueueFlagBits
Source§impl BitAnd<u32> for VkQueueFlagBits
impl BitAnd<u32> for VkQueueFlagBits
Source§fn bitand(self, rhs: VkQueueFlags) -> VkQueueFlags
fn bitand(self, rhs: VkQueueFlags) -> VkQueueFlags
Performs the
& operation. Read moreSource§impl BitOr for VkQueueFlagBits
impl BitOr for VkQueueFlagBits
Source§impl BitOr<u32> for VkQueueFlagBits
impl BitOr<u32> for VkQueueFlagBits
Source§fn bitor(self, rhs: VkQueueFlags) -> VkQueueFlags
fn bitor(self, rhs: VkQueueFlags) -> VkQueueFlags
Performs the
| operation. Read moreSource§impl BitXor for VkQueueFlagBits
impl BitXor for VkQueueFlagBits
Source§impl BitXor<u32> for VkQueueFlagBits
impl BitXor<u32> for VkQueueFlagBits
Source§fn bitxor(self, rhs: VkQueueFlags) -> VkQueueFlags
fn bitxor(self, rhs: VkQueueFlags) -> VkQueueFlags
Performs the
^ operation. Read moreSource§impl Clone for VkQueueFlagBits
impl Clone for VkQueueFlagBits
Source§fn clone(&self) -> VkQueueFlagBits
fn clone(&self) -> VkQueueFlagBits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VkQueueFlagBits
Source§impl Debug for VkQueueFlagBits
impl Debug for VkQueueFlagBits
impl Eq for VkQueueFlagBits
Source§impl Hash for VkQueueFlagBits
impl Hash for VkQueueFlagBits
Source§impl Not for VkQueueFlagBits
impl Not for VkQueueFlagBits
Source§impl Ord for VkQueueFlagBits
impl Ord for VkQueueFlagBits
Source§fn cmp(&self, other: &VkQueueFlagBits) -> Ordering
fn cmp(&self, other: &VkQueueFlagBits) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VkQueueFlagBits
impl PartialEq for VkQueueFlagBits
Source§impl PartialOrd for VkQueueFlagBits
impl PartialOrd for VkQueueFlagBits
impl StructuralPartialEq for VkQueueFlagBits
Auto Trait Implementations§
impl Freeze for VkQueueFlagBits
impl RefUnwindSafe for VkQueueFlagBits
impl Send for VkQueueFlagBits
impl Sync for VkQueueFlagBits
impl Unpin for VkQueueFlagBits
impl UnsafeUnpin for VkQueueFlagBits
impl UnwindSafe for VkQueueFlagBits
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