/// Creates a new `FeatureList` from a package and an iterator over feature labels.
Creates a new `FeatureList` from a package and an iterator over feature labels.
Creates a new ` FeatureList ` from a package and an iterator over feature labels .
pub fn new(
        package: PackageMetadata<'g>,
        labels: impl IntoIterator<Item = FeatureLabel<'g>>,
    ) -> Self {
        Self {
            package,
            labels: labels.into_iter().collect(),
        }
    }
pub fn new ( package : PackageMetadata < ' g > , labels : impl IntoIterator < Item = FeatureLabel < ' g > > , ) -> Self { Self { package , labels : labels . into_iter ( ) . collect ( ) , } }
Creates a new `FeatureList` from a package and an iterator over feature labels.
Creates a new ` FeatureList ` from a package and an iterator over feature labels .
package
PackageMetadata<'g>
labels
impl IntoIterator<Item = FeatureLabel<'g>>