[][src]Trait drone_macros_core::CfgFeaturesExt

pub trait CfgFeaturesExt<T: Clone> {
    fn transpose(self) -> Vec<(CfgFeatures, Vec<T>)>;
}

CfgFeatures helper extension trait for slices.

Required methods

fn transpose(self) -> Vec<(CfgFeatures, Vec<T>)>

Converts a sequence of T into a sequence of combinations of T for each possible feature.

Loading content...

Implementations on Foreign Types

impl<'_, T: Clone> CfgFeaturesExt<T> for &'_ [(CfgFeatures, T)][src]

Loading content...

Implementors

Loading content...