/// Returns whether the two keys `this` and `that` are in fact the same key
/// as per the USB HID usage reported.  The return value is an enum to make
/// the state machine match arms more readable.
Returns whether the two keys `this` and `that` are in fact the same key
as per the USB HID usage reported.  The return value is an enum to make
the state machine match arms more readable.
Returns whether the two keys ` this ` and ` that ` are in fact the same key as per the USB HID usage reported . The return value is an enum to make the state machine match arms more readable .
fn key_sameness(this: &StoredEvent, that: &StoredEvent) -> Sameness {
        match this.event.get_key() == that.event.get_key() {
            true => Sameness::Same,
            false => Sameness::Other,
        }
    }
fn key_sameness ( this : & StoredEvent , that : & StoredEvent ) -> Sameness { match this . event . get_key ( ) == that . event . get_key ( ) { true => Sameness :: Same , false => Sameness :: Other , } }
Returns whether the two keys `this` and `that` are in fact the same key
as per the USB HID usage reported.
Returns whether the two keys ` this ` and ` that ` are in fact the same key as per the USB HID usage reported .
this
&StoredEvent
that
&StoredEvent