Skip to main content

tools

Macro tools 

macro_rules! tools {
    () => { ... };
    ($($tool:expr),+ $(,)?) => { ... };
}
Expand description

Build a ToolSet from tool values, in order: tools![Clock, Search::new()].

Each item is an expression whose type implements Tool (a unit struct is its own value).