struct Bucket {
layouts: HashSet<DescriptorSetLayout>,
pools: Vec<Pool>,
available_sets: u32,
allocated_sets: u32,
}Expand description
Keeps track of all pools created with this bucket’s BucketKey.
Fields§
§layouts: HashSet<DescriptorSetLayout>We keep track of all descriptor set layouts that might use this bucket. If the set becomes empty, the bucket is destroyed.
pools: Vec<Pool>§available_sets: u32§allocated_sets: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnsafeUnpin for Bucket
impl UnwindSafe for Bucket
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