Macro aspen::Repeat
[−]
[src]
macro_rules! Repeat { ( $e:expr ) => { ... }; ( $c:expr, $e:expr ) => { ... }; }
Convenience macro for creating Repeat nodes.
Examples
let repeat = Repeat!{ Condition!{ |&(a, b): &(u32, u32)| a < b } }; let limited_repeat = Repeat!{ 12, Condition!{ |&(a, b): &(u32, u32)| a < b } };