Skip to main content

box_tool

Function box_tool 

Source
pub fn box_tool<T: Tool + 'static>(tool: T) -> Box<dyn DynTool>
Expand description

Convert a Tool into a type-erased Box<dyn DynTool> for storage in collections.