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§

source

fn gpu_only() -> Self

source

fn cpu_to_gpu() -> Self

source

fn gpu_to_cpu() -> Self

Object Safety§

This trait is not object safe.

Implementors§