fn alloc_controller_id(&self) -> u32 {
        let mut i = 0u32;
        loop {
            if self.connected_controllers
                .iter()
                .find(|ids| ids.0 == i)
                .is_none()
            {
                return i;
            }
            i += 1;
        }
    }
/// Retrieve next free controller number to allocate new controller to
Retrieve next free controller number to allocate new controller to
Retrieve next free controller number to allocate new controller to
fn alloc_controller_id(&self) -> u32 {
        let mut i = 0u32;
        loop {
            if self.connected_controllers
                .iter()
                .find(|ids| ids.0 == i)
                .is_none()
            {
                return i;
            }
            i += 1;
        }
    }
fn alloc_controller_id ( & self ) -> u32 { let mut i = 0u32 ; loop { if self . connected_controllers . iter ( ) . find ( | ids | ids . 0 == i ) . is_none ( ) { return i ; } i += 1 ; } }
Retrieve next free controller number to allocate new controller to
Retrieve next free controller number to allocate new controller to
&self
&self