#[non_exhaustive]pub enum MemoryDomainKind {
System,
SystemView,
DmaBuf,
VulkanTexture,
WebGPUBuffer,
Cuda,
D3D11Texture,
CvPixelBuffer,
WebGPUExternalTexture,
WgpuTexture,
WgpuBuffer,
}Expand description
The memory domain of a MemoryDomain without its payload. Used by the
allocation query (M12) so a consumer can name the kind of memory it wants
allocated without holding a buffer.
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.
System
SystemView
DmaBuf
VulkanTexture
WebGPUBuffer
Cuda
D3D11Texture
CvPixelBuffer
WebGPUExternalTexture
WgpuTexture
WgpuBuffer
Implementations§
Trait Implementations§
Source§impl Clone for MemoryDomainKind
impl Clone for MemoryDomainKind
Source§fn clone(&self) -> MemoryDomainKind
fn clone(&self) -> MemoryDomainKind
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 MemoryDomainKind
Source§impl Debug for MemoryDomainKind
impl Debug for MemoryDomainKind
Source§impl Default for MemoryDomainKind
impl Default for MemoryDomainKind
Source§fn default() -> MemoryDomainKind
fn default() -> MemoryDomainKind
Returns the “default value” for a type. Read more
impl Eq for MemoryDomainKind
Source§impl Hash for MemoryDomainKind
impl Hash for MemoryDomainKind
Source§impl PartialEq for MemoryDomainKind
impl PartialEq for MemoryDomainKind
impl StructuralPartialEq for MemoryDomainKind
Auto Trait Implementations§
impl Freeze for MemoryDomainKind
impl RefUnwindSafe for MemoryDomainKind
impl Send for MemoryDomainKind
impl Sync for MemoryDomainKind
impl Unpin for MemoryDomainKind
impl UnsafeUnpin for MemoryDomainKind
impl UnwindSafe for MemoryDomainKind
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