Struct draw2d::graphics::vulkan::device_allocator::PageAllocator [−][src]
pub struct PageAllocator<Allocator: DeviceAllocator> { /* fields omitted */ }
Expand description
Decorate an allocator such that all allocation requests are rounded up to the nearest page.
Implementations
Trait Implementations
Allocate device memory with the provided type index and size. Read more
Auto Trait Implementations
impl<Allocator> RefUnwindSafe for PageAllocator<Allocator> where
Allocator: RefUnwindSafe,
impl<Allocator> Send for PageAllocator<Allocator> where
Allocator: Send,
impl<Allocator> Sync for PageAllocator<Allocator> where
Allocator: Sync,
impl<Allocator> Unpin for PageAllocator<Allocator> where
Allocator: Unpin,
impl<Allocator> UnwindSafe for PageAllocator<Allocator> where
Allocator: UnwindSafe,
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.