1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! The home of code optimization use crate::Function; /// Implement this trait so the builder can optimize your struct pub trait Optimize { fn optimize(&mut self); } impl Optimize for Function { fn optimize(&mut self) { } }