pub fn from_binding_iter<I>(bindings: I) -> Self
    where
        I: Iterator<Item = DescriptorSetLayoutBinding>,
    {
        let mut descs = Self::zero();

        for binding in bindings {
            descs.counts[descriptor_type_to_idx(binding.ty)] += binding.count as u32;
        }

        descs
    }
/// Calculate ranges from bindings, specified with an iterator.
Calculate ranges from bindings, specified with an iterator.
Calculate ranges from bindings specified with an iterator .
pub fn from_binding_iter<I>(bindings: I) -> Self
    where
        I: Iterator<Item = DescriptorSetLayoutBinding>,
    {
        let mut descs = Self::zero();
        for binding in bindings {
            descs.counts[descriptor_type_to_idx(binding.ty)] += binding.count as u32;
        }
        descs
    }
pub fn from_binding_iter < I > ( bindings : I ) -> Self where I : Iterator < Item = DescriptorSetLayoutBinding > , { let mut descs = Self :: zero ( ) ; for binding in bindings { descs . counts [ descriptor_type_to_idx ( binding . ty ) ] += binding . count as u32 ; } descs }
Calculate ranges from bindings, specified with an iterator.
Calculate ranges from bindings specified with an iterator .
bindings
I
bindings
I