pub struct Data;
Expand description
Full speed GPU access. Optimal for render targets and persistent resources. Avoid memory with host access.
Trait Implementations§
Source§impl MemoryUsage for Data
impl MemoryUsage for Data
Source§fn properties_required(&self) -> Properties
fn properties_required(&self) -> Properties
Get set of properties required for the usage.
Source§fn memory_fitness(&self, properties: Properties) -> u32
fn memory_fitness(&self, properties: Properties) -> u32
Get comparable fitness value for memory properties. Read more
Source§fn allocator_fitness(&self, kind: Kind) -> u32
fn allocator_fitness(&self, kind: Kind) -> u32
Get comparable fitness value for memory allocator.
impl Copy for Data
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)