pub trait BaseEvent: Raw<xcb_generic_event_t> {
const EXTENSION: Option<Extension>;
const NUMBER: u32;
// Provided method
fn is_from_send_event(&self) -> bool { ... }
}
Expand description
Trait for base events (aka. non GE_GENERIC events)
Required Associated Constants§
Provided Methods§
sourcefn is_from_send_event(&self) -> bool
fn is_from_send_event(&self) -> bool
Check whether this event was emitted by the SendEvent request
See [crate::x::SendEvent]
.
Object Safety§
This trait is not object safe.