[][src]Trait drone_macros_core::CfgCondExt

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>)>

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...