#[non_exhaustive]#[repr(u32)]pub enum VkSemaphoreType {
VK_SEMAPHORE_TYPE_BINARY = 0,
VK_SEMAPHORE_TYPE_TIMELINE = 1,
VK_SEMAPHORE_TYPE_MAX_ENUM = 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_SEMAPHORE_TYPE_BINARY = 0
VK_SEMAPHORE_TYPE_TIMELINE = 1
VK_SEMAPHORE_TYPE_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkSemaphoreType
impl VkSemaphoreType
pub const VK_SEMAPHORE_TYPE_BINARY_KHR: VkSemaphoreType = VkSemaphoreType::VK_SEMAPHORE_TYPE_BINARY
Source§impl VkSemaphoreType
impl VkSemaphoreType
pub const VK_SEMAPHORE_TYPE_TIMELINE_KHR: VkSemaphoreType = VkSemaphoreType::VK_SEMAPHORE_TYPE_TIMELINE
Trait Implementations§
Source§impl Clone for VkSemaphoreType
impl Clone for VkSemaphoreType
Source§fn clone(&self) -> VkSemaphoreType
fn clone(&self) -> VkSemaphoreType
Returns a copy 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 VkSemaphoreType
impl Debug for VkSemaphoreType
Source§impl Hash for VkSemaphoreType
impl Hash for VkSemaphoreType
Source§impl PartialEq for VkSemaphoreType
impl PartialEq for VkSemaphoreType
impl Copy for VkSemaphoreType
impl Eq for VkSemaphoreType
impl StructuralPartialEq for VkSemaphoreType
Auto Trait Implementations§
impl Freeze for VkSemaphoreType
impl RefUnwindSafe for VkSemaphoreType
impl Send for VkSemaphoreType
impl Sync for VkSemaphoreType
impl Unpin for VkSemaphoreType
impl UnwindSafe for VkSemaphoreType
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