use crate::sub_module::addr::Addr; #[derive(Default)] pub struct AddChild {} impl Addr for AddChild { fn add(&self, x1: usize, x2: usize) -> usize { x1 + x2 } }