#[non_exhaustive]#[repr(i32)]pub enum VkQueryResultStatusKHR {
VK_QUERY_RESULT_STATUS_ERROR_KHR = -1,
VK_QUERY_RESULT_STATUS_NOT_READY_KHR = 0,
VK_QUERY_RESULT_STATUS_COMPLETE_KHR = 1,
VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR = -1_000_299_000,
VK_QUERY_RESULT_STATUS_MAX_ENUM_KHR = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VK_QUERY_RESULT_STATUS_ERROR_KHR = -1
VK_QUERY_RESULT_STATUS_NOT_READY_KHR = 0
VK_QUERY_RESULT_STATUS_COMPLETE_KHR = 1
VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR = -1_000_299_000
VK_QUERY_RESULT_STATUS_MAX_ENUM_KHR = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkQueryResultStatusKHR
impl Clone for VkQueryResultStatusKHR
Source§fn clone(&self) -> VkQueryResultStatusKHR
fn clone(&self) -> VkQueryResultStatusKHR
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 VkQueryResultStatusKHR
impl Debug for VkQueryResultStatusKHR
Source§impl Hash for VkQueryResultStatusKHR
impl Hash for VkQueryResultStatusKHR
Source§impl PartialEq for VkQueryResultStatusKHR
impl PartialEq for VkQueryResultStatusKHR
impl Copy for VkQueryResultStatusKHR
impl Eq for VkQueryResultStatusKHR
impl StructuralPartialEq for VkQueryResultStatusKHR
Auto Trait Implementations§
impl Freeze for VkQueryResultStatusKHR
impl RefUnwindSafe for VkQueryResultStatusKHR
impl Send for VkQueryResultStatusKHR
impl Sync for VkQueryResultStatusKHR
impl Unpin for VkQueryResultStatusKHR
impl UnwindSafe for VkQueryResultStatusKHR
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