#[non_exhaustive]#[repr(u32)]pub enum VkMemoryOverallocationBehaviorAMD {
VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD = 0,
VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD = 1,
VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD = 2,
VK_MEMORY_OVERALLOCATION_BEHAVIOR_MAX_ENUM_AMD = 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_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD = 0
VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD = 1
VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD = 2
VK_MEMORY_OVERALLOCATION_BEHAVIOR_MAX_ENUM_AMD = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkMemoryOverallocationBehaviorAMD
impl Clone for VkMemoryOverallocationBehaviorAMD
Source§fn clone(&self) -> VkMemoryOverallocationBehaviorAMD
fn clone(&self) -> VkMemoryOverallocationBehaviorAMD
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 PartialEq for VkMemoryOverallocationBehaviorAMD
impl PartialEq for VkMemoryOverallocationBehaviorAMD
Source§fn eq(&self, other: &VkMemoryOverallocationBehaviorAMD) -> bool
fn eq(&self, other: &VkMemoryOverallocationBehaviorAMD) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VkMemoryOverallocationBehaviorAMD
impl Eq for VkMemoryOverallocationBehaviorAMD
impl StructuralPartialEq for VkMemoryOverallocationBehaviorAMD
Auto Trait Implementations§
impl Freeze for VkMemoryOverallocationBehaviorAMD
impl RefUnwindSafe for VkMemoryOverallocationBehaviorAMD
impl Send for VkMemoryOverallocationBehaviorAMD
impl Sync for VkMemoryOverallocationBehaviorAMD
impl Unpin for VkMemoryOverallocationBehaviorAMD
impl UnwindSafe for VkMemoryOverallocationBehaviorAMD
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