Macro root_io::stream_zip[][src]

macro_rules! stream_zip {
    ( @closure $p:pat => $tup:expr ) => { ... };
    ( @closure $p:pat => ( $($tup:tt)* ) , $_iter:expr $( , $tail:expr )* ) => { ... };
    ($first:expr $(,)*) => { ... };
    ($first:expr, $second:expr $(,)*) => { ... };
    ( $first:expr $( , $rest:expr )* $(,)* ) => { ... };
}

Zip n streams together analogous to the zip() function. This is useful when iterating over multiple branches of a TTree. See the examples of this crate for the suggested use-case.