#[repr(C)]pub enum VkSystemAllocationScope {
VK_SYSTEM_ALLOCATION_SCOPE_COMMAND = 0,
VK_SYSTEM_ALLOCATION_SCOPE_OBJECT = 1,
VK_SYSTEM_ALLOCATION_SCOPE_CACHE = 2,
VK_SYSTEM_ALLOCATION_SCOPE_DEVICE = 3,
VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE = 4,
VK_SYSTEM_ALLOCATION_SCOPE_MAX_ENUM = 2_147_483_647,
}Expand description
enum VkSystemAllocationScope from VK_VERSION_1_0
Variants§
VK_SYSTEM_ALLOCATION_SCOPE_COMMAND = 0
VK_SYSTEM_ALLOCATION_SCOPE_OBJECT = 1
VK_SYSTEM_ALLOCATION_SCOPE_CACHE = 2
VK_SYSTEM_ALLOCATION_SCOPE_DEVICE = 3
VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE = 4
VK_SYSTEM_ALLOCATION_SCOPE_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkSystemAllocationScope
impl Clone for VkSystemAllocationScope
Source§fn clone(&self) -> VkSystemAllocationScope
fn clone(&self) -> VkSystemAllocationScope
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 VkSystemAllocationScope
Source§impl Debug for VkSystemAllocationScope
impl Debug for VkSystemAllocationScope
impl Eq for VkSystemAllocationScope
Source§impl Hash for VkSystemAllocationScope
impl Hash for VkSystemAllocationScope
Source§impl Ord for VkSystemAllocationScope
impl Ord for VkSystemAllocationScope
Source§fn cmp(&self, other: &VkSystemAllocationScope) -> Ordering
fn cmp(&self, other: &VkSystemAllocationScope) -> 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 PartialEq for VkSystemAllocationScope
impl PartialEq for VkSystemAllocationScope
Source§impl PartialOrd for VkSystemAllocationScope
impl PartialOrd for VkSystemAllocationScope
impl StructuralPartialEq for VkSystemAllocationScope
Auto Trait Implementations§
impl Freeze for VkSystemAllocationScope
impl RefUnwindSafe for VkSystemAllocationScope
impl Send for VkSystemAllocationScope
impl Sync for VkSystemAllocationScope
impl Unpin for VkSystemAllocationScope
impl UnsafeUnpin for VkSystemAllocationScope
impl UnwindSafe for VkSystemAllocationScope
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