fn allocate_sets<I>(&mut self, layouts: I) -> Vec<Result<B::DescriptorSet, AllocationError>>
    where
        I: IntoIterator,
        I::Item: Borrow<B::DescriptorSetLayout>,
    {
        layouts
            .into_iter()
            .map(|layout| self.allocate_set(layout.borrow()))
            .collect()
    }
/// Allocate one or multiple descriptor sets from the pool.
///
/// Each descriptor set will be allocated from the pool according to the corresponding set layout.
/// Descriptors will become invalid once the pool is reset. Usage of invalidated descriptor sets results
/// in undefined behavior.
Allocate one or multiple descriptor sets from the pool.
Each descriptor set will be allocated from the pool according to the corresponding set layout.
Descriptors will become invalid once the pool is reset. Usage of invalidated descriptor sets results
in undefined behavior.
Allocate one or multiple descriptor sets from the pool . Each descriptor set will be allocated from the pool according to the corresponding set layout . Descriptors will become invalid once the pool is reset . Usage of invalidated descriptor sets results in undefined behavior .
fn allocate_sets<I>(&mut self, layouts: I) -> Vec<Result<B::DescriptorSet, AllocationError>>
    where
        I: IntoIterator,
        I::Item: Borrow<B::DescriptorSetLayout>,
    {
        layouts
            .into_iter()
            .map(|layout| self.allocate_set(layout.borrow()))
            .collect()
    }
fn allocate_sets < I > ( & mut self , layouts : I ) -> Vec < Result < B :: DescriptorSet , AllocationError > > where I : IntoIterator , I :: Item : Borrow < B :: DescriptorSetLayout > , { layouts . into_iter ( ) . map ( | layout | self . allocate_set ( layout . borrow ( ) ) ) . collect ( ) }
Allocate one or multiple descriptor sets from the pool.
Allocate one or multiple descriptor sets from the pool .
&mut self
layouts
I