#[non_exhaustive]#[repr(u32)]pub enum VkSharingMode {
VK_SHARING_MODE_EXCLUSIVE = 0,
VK_SHARING_MODE_CONCURRENT = 1,
VK_SHARING_MODE_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_SHARING_MODE_EXCLUSIVE = 0
VK_SHARING_MODE_CONCURRENT = 1
VK_SHARING_MODE_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkSharingMode
impl Clone for VkSharingMode
Source§fn clone(&self) -> VkSharingMode
fn clone(&self) -> VkSharingMode
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 VkSharingMode
impl Debug for VkSharingMode
Source§impl Hash for VkSharingMode
impl Hash for VkSharingMode
Source§impl PartialEq for VkSharingMode
impl PartialEq for VkSharingMode
impl Copy for VkSharingMode
impl Eq for VkSharingMode
impl StructuralPartialEq for VkSharingMode
Auto Trait Implementations§
impl Freeze for VkSharingMode
impl RefUnwindSafe for VkSharingMode
impl Send for VkSharingMode
impl Sync for VkSharingMode
impl Unpin for VkSharingMode
impl UnwindSafe for VkSharingMode
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