#[repr(C)]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,
}Expand description
enum VkMemoryOverallocationBehaviorAMD from VK_AMD_memory_overallocation_behavior
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 (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 VkMemoryOverallocationBehaviorAMD
impl Eq for VkMemoryOverallocationBehaviorAMD
Source§impl Ord for VkMemoryOverallocationBehaviorAMD
impl Ord for VkMemoryOverallocationBehaviorAMD
Source§fn cmp(&self, other: &VkMemoryOverallocationBehaviorAMD) -> Ordering
fn cmp(&self, other: &VkMemoryOverallocationBehaviorAMD) -> 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 PartialOrd for VkMemoryOverallocationBehaviorAMD
impl PartialOrd 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 UnsafeUnpin 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