pub struct System { } impl System { pub fn new() -> System { System{} } pub fn detection(&self) { } }