1 2 3 4 5 6 7 8 9 10
pub struct Engine {} impl Engine { pub fn new() -> Engine { Engine {} } } impl Engine { pub fn start(&self) {} }