Struct gpu_descriptor::allocator::DescriptorPool
source · struct DescriptorPool<P> {
raw: P,
allocated: u32,
available: u32,
}
Fields§
§raw: P
§allocated: u32
Number of sets allocated from pool.
available: u32
Expected number of sets available.
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for DescriptorPool<P>where
P: Freeze,
impl<P> RefUnwindSafe for DescriptorPool<P>where
P: RefUnwindSafe,
impl<P> Send for DescriptorPool<P>where
P: Send,
impl<P> Sync for DescriptorPool<P>where
P: Sync,
impl<P> Unpin for DescriptorPool<P>where
P: Unpin,
impl<P> UnwindSafe for DescriptorPool<P>where
P: UnwindSafe,
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