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
ExplicitNo public source comment is attached to this declaration.
Auto
Variant
AutoNo public source comment is attached to this declaration.
PreferDevice
Variant
PreferDeviceNo public source comment is attached to this declaration.
PreferHost
Variant
PreferHostNo public source comment is attached to this declaration.
Methods and associated items
clone
Method
Returns a duplicate of the value. Read more
fmt
Method
Formats the value using the given formatter. Read more
default
Method
Returns the “default value” for a type. Read more
eq
Method
Tests for
self and other values to be equal, and is used by ==.