Trait drone_macros_core::CfgCondExt[][src]

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

CfgCond helper extension trait for slices.

Required methods

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

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

Implementations on Foreign Types

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

Implementors