[][src]Trait drone_macros_core::CfgCondExt

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

CfgCond helper extension trait for slices.

Required methods

pub fn transpose(self) -> Vec<(CfgCond, Vec<T>)>[src]

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

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...