pub struct FeatureGroups {
pub features: Option<FeaturesTable>,
pub groups: IndexMap<FeatureGroupName, FeatureGroup>,
}
Expand description
Custom
[metadata]
subtable for featurecomb.
Fields§
§features: Option<FeaturesTable>
Features.
groups: IndexMap<FeatureGroupName, FeatureGroup>
Feature groups.
Implementations§
Source§impl FeatureGroups
impl FeatureGroups
Sourcepub fn features_in_group<'a>(
&'a self,
feature_group: &FeatureGroupName,
) -> impl Iterator<Item = &'a FeatureName>
pub fn features_in_group<'a>( &'a self, feature_group: &FeatureGroupName, ) -> impl Iterator<Item = &'a FeatureName>
Returns an iterator over features that are part of the given feature group.
Trait Implementations§
Source§impl Clone for FeatureGroups
impl Clone for FeatureGroups
Source§fn clone(&self) -> FeatureGroups
fn clone(&self) -> FeatureGroups
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FeatureGroups
impl Debug for FeatureGroups
Source§impl Default for FeatureGroups
impl Default for FeatureGroups
Source§fn default() -> FeatureGroups
fn default() -> FeatureGroups
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeatureGroups
impl<'de> Deserialize<'de> for FeatureGroups
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FeatureGroups
impl RefUnwindSafe for FeatureGroups
impl Send for FeatureGroups
impl Sync for FeatureGroups
impl Unpin for FeatureGroups
impl UnwindSafe for FeatureGroups
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