Enum draw2d::graphics::vulkan::device_allocator::MemUnit [−][src]
Expand description
Units of measurement for memory.
Variants
B(u64)
Bytes
KiB(u64)
Kibibytes (Bytes*1024)
MiB(u64)
Mebibytes (Kibibytes*1024)
GiB(u64)
Gibibytes (Mebibytes*1024)
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MemUnit
impl UnwindSafe for MemUnit
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.