Struct wgpu_core::device::alloc::MemoryAllocator [−][src]
pub struct MemoryAllocator<B: Backend>(_);
Implementations
pub fn allocate(
&mut self,
device: &B::Device,
requirements: Requirements,
usage: UsageFlags
) -> Result<MemoryBlock<B>, DeviceError>Trait Implementations
Auto Trait Implementations
impl<B> RefUnwindSafe for MemoryAllocator<B> where
<B as Backend>::Memory: RefUnwindSafe, impl<B> Send for MemoryAllocator<B>impl<B> Sync for MemoryAllocator<B>impl<B> Unpin for MemoryAllocator<B>impl<B> UnwindSafe for MemoryAllocator<B> where
<B as Backend>::Memory: RefUnwindSafe,