pub struct LazyPool { /* private fields */ }Expand description
A high-efficiency resource allocator.
Implementations§
Trait Implementations§
source§impl Pool<AccelerationStructureInfo, AccelerationStructure> for LazyPool
impl Pool<AccelerationStructureInfo, AccelerationStructure> for LazyPool
source§fn lease(
&mut self,
info: AccelerationStructureInfo
) -> Result<Lease<AccelerationStructure>, DriverError>
fn lease( &mut self, info: AccelerationStructureInfo ) -> Result<Lease<AccelerationStructure>, DriverError>
Lease a resource.
source§impl Pool<AccelerationStructureInfoBuilder, AccelerationStructure> for LazyPool
impl Pool<AccelerationStructureInfoBuilder, AccelerationStructure> for LazyPool
source§fn lease(
&mut self,
info: AccelerationStructureInfoBuilder
) -> Result<Lease<AccelerationStructure>, DriverError>
fn lease( &mut self, info: AccelerationStructureInfoBuilder ) -> Result<Lease<AccelerationStructure>, DriverError>
Lease a resource.
source§impl Pool<BufferInfo, Buffer> for LazyPool
impl Pool<BufferInfo, Buffer> for LazyPool
source§fn lease(&mut self, info: BufferInfo) -> Result<Lease<Buffer>, DriverError>
fn lease(&mut self, info: BufferInfo) -> Result<Lease<Buffer>, DriverError>
Lease a resource.
source§impl Pool<BufferInfoBuilder, Buffer> for LazyPool
impl Pool<BufferInfoBuilder, Buffer> for LazyPool
source§fn lease(
&mut self,
info: BufferInfoBuilder
) -> Result<Lease<Buffer>, DriverError>
fn lease( &mut self, info: BufferInfoBuilder ) -> Result<Lease<Buffer>, DriverError>
Lease a resource.
source§impl Pool<ImageInfoBuilder, Image> for LazyPool
impl Pool<ImageInfoBuilder, Image> for LazyPool
source§fn lease(&mut self, info: ImageInfoBuilder) -> Result<Lease<Image>, DriverError>
fn lease(&mut self, info: ImageInfoBuilder) -> Result<Lease<Image>, DriverError>
Lease a resource.
Auto Trait Implementations§
impl !RefUnwindSafe for LazyPool
impl Send for LazyPool
impl Sync for LazyPool
impl Unpin for LazyPool
impl !UnwindSafe for LazyPool
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more