Struct draw2d::graphics::vulkan::device_allocator::Allocation [−][src]
pub struct Allocation { pub memory: DeviceMemory, pub offset: DeviceSize, pub byte_size: DeviceSize, // some fields omitted }
Expand description
A single allocated piece of device memory.
Fields
memory: DeviceMemory
offset: DeviceSize
byte_size: DeviceSize
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Allocation
impl Send for Allocation
impl Sync for Allocation
impl Unpin for Allocation
impl UnwindSafe for Allocation
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.