Trait xcb::BaseEvent

source ·
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§

source

const EXTENSION: Option<Extension>

The extension associated to this event, or None for the main protocol

source

const NUMBER: u32

The number associated to this event

Provided Methods§

source

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.

Implementors§

source§

impl BaseEvent for xcb::damage::NotifyEvent

source§

impl BaseEvent for xcb::dri2::BufferSwapCompleteEvent

source§

impl BaseEvent for InvalidateBuffersEvent

source§

impl BaseEvent for xcb::glx::BufferSwapCompleteEvent

source§

impl BaseEvent for PbufferClobberEvent

source§

impl BaseEvent for GenericEvent

source§

impl BaseEvent for xcb::randr::NotifyEvent

source§

impl BaseEvent for ScreenChangeNotifyEvent

source§

impl BaseEvent for xcb::screensaver::NotifyEvent

source§

impl BaseEvent for xcb::shape::NotifyEvent

source§

impl BaseEvent for CompletionEvent

source§

impl BaseEvent for UnknownEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 4_294_967_295u32

source§

impl BaseEvent for AlarmNotifyEvent

source§

impl BaseEvent for CounterNotifyEvent

source§

impl BaseEvent for ButtonPressEvent

source§

impl BaseEvent for CirculateNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 26u32

source§

impl BaseEvent for ClientMessageEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 33u32

source§

impl BaseEvent for ColormapNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 32u32

source§

impl BaseEvent for ConfigureNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 22u32

source§

impl BaseEvent for ConfigureRequestEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 23u32

source§

impl BaseEvent for CreateNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 16u32

source§

impl BaseEvent for DestroyNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 17u32

source§

impl BaseEvent for EnterNotifyEvent

source§

impl BaseEvent for ExposeEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 12u32

source§

impl BaseEvent for FocusInEvent

source§

impl BaseEvent for GraphicsExposureEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 13u32

source§

impl BaseEvent for GravityNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 24u32

source§

impl BaseEvent for KeyPressEvent

source§

impl BaseEvent for KeymapNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 11u32

source§

impl BaseEvent for xcb::x::MapNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 19u32

source§

impl BaseEvent for MapRequestEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 20u32

source§

impl BaseEvent for MappingNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 34u32

source§

impl BaseEvent for MotionNotifyEvent

source§

impl BaseEvent for NoExposureEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 14u32

source§

impl BaseEvent for PropertyNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 28u32

source§

impl BaseEvent for ReparentNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 21u32

source§

impl BaseEvent for ResizeRequestEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 25u32

source§

impl BaseEvent for SelectionClearEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 29u32

source§

impl BaseEvent for xcb::x::SelectionNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 31u32

source§

impl BaseEvent for SelectionRequestEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 30u32

source§

impl BaseEvent for UnmapNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 18u32

source§

impl BaseEvent for VisibilityNotifyEvent

source§

const EXTENSION: Option<Extension> = None

source§

const NUMBER: u32 = 15u32

source§

impl BaseEvent for CursorNotifyEvent

source§

impl BaseEvent for xcb::xfixes::SelectionNotifyEvent

source§

impl BaseEvent for ChangeDeviceNotifyEvent

source§

impl BaseEvent for DeviceButtonStateNotifyEvent

source§

impl BaseEvent for DeviceFocusInEvent

source§

impl BaseEvent for DeviceKeyPressEvent

source§

impl BaseEvent for DeviceKeyStateNotifyEvent

source§

impl BaseEvent for DeviceMappingNotifyEvent

source§

impl BaseEvent for DevicePresenceNotifyEvent

source§

impl BaseEvent for DevicePropertyNotifyEvent

source§

impl BaseEvent for DeviceStateNotifyEvent

source§

impl BaseEvent for DeviceValuatorEvent

source§

impl BaseEvent for AccessXNotifyEvent

source§

impl BaseEvent for ActionMessageEvent

source§

impl BaseEvent for BellNotifyEvent

source§

impl BaseEvent for CompatMapNotifyEvent

source§

impl BaseEvent for ControlsNotifyEvent

source§

impl BaseEvent for ExtensionDeviceNotifyEvent

source§

impl BaseEvent for IndicatorMapNotifyEvent

source§

impl BaseEvent for IndicatorStateNotifyEvent

source§

impl BaseEvent for xcb::xkb::MapNotifyEvent

source§

impl BaseEvent for NamesNotifyEvent

source§

impl BaseEvent for NewKeyboardNotifyEvent

source§

impl BaseEvent for StateNotifyEvent

source§

impl BaseEvent for AttributNotifyEvent

source§

impl BaseEvent for xcb::xprint::NotifyEvent

source§

impl BaseEvent for PortNotifyEvent

source§

impl BaseEvent for VideoNotifyEvent