// registers that a key has been released
registers that a key has been released
registers that a key has been released
pub fn register_key_release(&mut self, key_input: VirtualKeyCode) {
        // gets the key from the set
        let key = self.captured_keys.get(&key_input);
        // if the key is not none, remove the key
        if key != None {
            self.captured_keys.remove(&key_input);
        }
    }
pub fn register_key_release ( & mut self , key_input : VirtualKeyCode ) { // gets the key from the set let key = self . captured_keys . get ( & key_input ) ; // if the key is not none, remove the key if key != None { self . captured_keys . remove ( & key_input ) ; } }
registers that a key has been released
registers that a key has been released
&mut self
key_input
VirtualKeyCode