ToFloTool

Trait ToFloTool 

Source
pub trait ToFloTool<Anim: Animation, ToolData: Send + 'static> {
    // Required method
    fn to_flo_tool(self) -> Arc<FloTool<Anim>> ;
}
Expand description

Converts a tool to a generic tool

Required Methods§

Source

fn to_flo_tool(self) -> Arc<FloTool<Anim>>

Converts this object to a generic tool reference

Implementors§

Source§

impl<Anim: 'static + Animation, ToolData: 'static + Send + Sync, T: 'static + Tool<Anim, ToolData = ToolData>> ToFloTool<Anim, ToolData> for T

Converts any tool to its generic ‘FloTool’ equivalent