[−][src]Trait rendy::memory::MemoryUsage
Memory usage trait.
Required methods
fn properties_required(&self) -> Properties
Get set of properties required for the usage.
fn memory_fitness(&self, properties: Properties) -> u32
Get comparable fitness value for memory properties.
Panics
This function will panic if properties set doesn't contain required properties.
fn allocator_fitness(&self, kind: Kind) -> u32
Get comparable fitness value for memory allocator.
Implementors
impl MemoryUsage for MemoryUsageValue
[src]
Memory usage trait.
fn properties_required(&self) -> Properties
[src]
fn memory_fitness(&self, properties: Properties) -> u32
[src]
fn allocator_fitness(&self, kind: Kind) -> u32
[src]
impl MemoryUsage for Data
[src]
fn properties_required(&self) -> Properties
[src]
fn memory_fitness(&self, properties: Properties) -> u32
[src]
fn allocator_fitness(&self, kind: Kind) -> u32
[src]
impl MemoryUsage for Download
[src]
fn properties_required(&self) -> Properties
[src]
fn memory_fitness(&self, properties: Properties) -> u32
[src]
fn allocator_fitness(&self, kind: Kind) -> u32
[src]
impl MemoryUsage for Dynamic
[src]
fn properties_required(&self) -> Properties
[src]
fn memory_fitness(&self, properties: Properties) -> u32
[src]
fn allocator_fitness(&self, kind: Kind) -> u32
[src]
impl MemoryUsage for Upload
[src]
fn properties_required(&self) -> Properties
[src]
fn memory_fitness(&self, properties: Properties) -> u32
[src]
fn allocator_fitness(&self, kind: Kind) -> u32
[src]
impl<T> MemoryUsage for T where
T: Deref + Debug,
<T as Deref>::Target: MemoryUsage,
[src]
T: Deref + Debug,
<T as Deref>::Target: MemoryUsage,