pub trait MemoryLocation:
Clone
+ Send
+ Sync {
// Required methods
fn gpu_only() -> Self;
fn cpu_to_gpu() -> Self;
fn gpu_to_cpu() -> Self;
}Expand description
Represents a memory location for AllocationCreateInfo.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.