#[repr(C)]pub enum VkQueryResultFlagBits {
VK_QUERY_RESULT_64_BIT = 1,
VK_QUERY_RESULT_WAIT_BIT = 2,
VK_QUERY_RESULT_WITH_AVAILABILITY_BIT = 4,
VK_QUERY_RESULT_PARTIAL_BIT = 8,
VK_QUERY_RESULT_WITH_STATUS_BIT_KHR = 16,
VK_QUERY_RESULT_FLAG_BITS_MAX_ENUM = 2_147_483_647,
}Expand description
enum VkQueryResultFlagBits from VK_VERSION_1_0
Variants§
VK_QUERY_RESULT_64_BIT = 1
VK_QUERY_RESULT_WAIT_BIT = 2
VK_QUERY_RESULT_WITH_AVAILABILITY_BIT = 4
VK_QUERY_RESULT_PARTIAL_BIT = 8
VK_QUERY_RESULT_WITH_STATUS_BIT_KHR = 16
VK_QUERY_RESULT_FLAG_BITS_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkQueryResultFlagBits
impl VkQueryResultFlagBits
Sourcepub fn combine(bits: &[Self]) -> VkQueryResultFlags
pub fn combine(bits: &[Self]) -> VkQueryResultFlags
Combine bits together
Sourcepub fn check(value: VkQueryResultFlags, bits: Self) -> bool
pub fn check(value: VkQueryResultFlags, bits: Self) -> bool
Check if the bitfield has a value
Trait Implementations§
Source§impl BitAnd for VkQueryResultFlagBits
impl BitAnd for VkQueryResultFlagBits
Source§impl BitAnd<u32> for VkQueryResultFlagBits
impl BitAnd<u32> for VkQueryResultFlagBits
Source§fn bitand(self, rhs: VkQueryResultFlags) -> VkQueryResultFlags
fn bitand(self, rhs: VkQueryResultFlags) -> VkQueryResultFlags
Performs the
& operation. Read moreSource§impl BitOr for VkQueryResultFlagBits
impl BitOr for VkQueryResultFlagBits
Source§impl BitOr<u32> for VkQueryResultFlagBits
impl BitOr<u32> for VkQueryResultFlagBits
Source§fn bitor(self, rhs: VkQueryResultFlags) -> VkQueryResultFlags
fn bitor(self, rhs: VkQueryResultFlags) -> VkQueryResultFlags
Performs the
| operation. Read moreSource§impl BitXor for VkQueryResultFlagBits
impl BitXor for VkQueryResultFlagBits
Source§impl BitXor<u32> for VkQueryResultFlagBits
impl BitXor<u32> for VkQueryResultFlagBits
Source§fn bitxor(self, rhs: VkQueryResultFlags) -> VkQueryResultFlags
fn bitxor(self, rhs: VkQueryResultFlags) -> VkQueryResultFlags
Performs the
^ operation. Read moreSource§impl Clone for VkQueryResultFlagBits
impl Clone for VkQueryResultFlagBits
Source§fn clone(&self) -> VkQueryResultFlagBits
fn clone(&self) -> VkQueryResultFlagBits
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 VkQueryResultFlagBits
Source§impl Debug for VkQueryResultFlagBits
impl Debug for VkQueryResultFlagBits
impl Eq for VkQueryResultFlagBits
Source§impl Hash for VkQueryResultFlagBits
impl Hash for VkQueryResultFlagBits
Source§impl Not for VkQueryResultFlagBits
impl Not for VkQueryResultFlagBits
Source§impl Ord for VkQueryResultFlagBits
impl Ord for VkQueryResultFlagBits
Source§fn cmp(&self, other: &VkQueryResultFlagBits) -> Ordering
fn cmp(&self, other: &VkQueryResultFlagBits) -> 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 VkQueryResultFlagBits
impl PartialEq for VkQueryResultFlagBits
Source§impl PartialOrd for VkQueryResultFlagBits
impl PartialOrd for VkQueryResultFlagBits
impl StructuralPartialEq for VkQueryResultFlagBits
Auto Trait Implementations§
impl Freeze for VkQueryResultFlagBits
impl RefUnwindSafe for VkQueryResultFlagBits
impl Send for VkQueryResultFlagBits
impl Sync for VkQueryResultFlagBits
impl Unpin for VkQueryResultFlagBits
impl UnsafeUnpin for VkQueryResultFlagBits
impl UnwindSafe for VkQueryResultFlagBits
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