Description
In rust-xcb I have the following code:
/// a key was pressed/released
pub type KeyPressEvent = base::Event<xcb_key_press_event_t>;
impl KeyPressEvent {
/// The keycode (a number representing a physical key on the keyboard) of the key
/// which was pressed.
pub fn detail(&self) -> Keycode { ... }
/// Time when the event was generated (in milliseconds).
pub fn time(&self) -> Timestamp { ... }
...
}
However as one can see here, the impl section is ignored.