Realm

vk::mem · Enums · M1

Policy for managed resources. Raw allocation always uses explicit flags.

EnRustExperimental

Envk::mem::MemoryUsage

Contract

Policy for managed resources. Raw allocation always uses explicit flags.

Variants

Explicit

Variant
Explicit
No public source comment is attached to this declaration.

Auto

Variant
Auto
No public source comment is attached to this declaration.

PreferDevice

Variant
PreferDevice
No public source comment is attached to this declaration.

PreferHost

Variant
PreferHost
No public source comment is attached to this declaration.

Methods and associated items

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> MemoryUsage
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &MemoryUsage) -> bool
Tests for self and other values to be equal, and is used by ==.