[][src]Macro topo::call

macro_rules! call {
    (slot: $slot:expr, $($input:tt)*) => { ... };
    ($($input:tt)*) => { ... };
}

Calls the provided expression with an Id specific to the callsite.

let prev = topo::Id::current();
topo::call!(assert_ne!(prev, topo::Id::current()));

TODO document loops, recursion, branches, etc