xcb::ffi

Struct xcb_generic_event_t

Source
#[repr(C)]
pub struct xcb_generic_event_t { pub response_type: u8, pub pad0: u8, pub sequence: u16, pub pad: [u32; 7], pub full_sequence: u32, }
Expand description

Generic event.

A generic event structure.

Fields§

§response_type: u8

Type of the response

§pad0: u8

Padding

§sequence: u16

Sequence number

§pad: [u32; 7]

Padding

§full_sequence: u32

full sequence

Trait Implementations§

Source§

impl Clone for xcb_generic_event_t

Source§

fn clone(&self) -> xcb_generic_event_t

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for xcb_generic_event_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Raw<xcb_generic_event_t> for AccessXNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ActionMessageEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for AlarmNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for AttributNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for BellNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for BufferSwapCompleteEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for BufferSwapCompleteEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ButtonPressEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ChangeDeviceNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for CirculateNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ClientMessageEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ColormapNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for CompatMapNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for CompletionEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ConfigureNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ConfigureRequestEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ControlsNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for CounterNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for CreateNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for CursorNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DestroyNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DeviceButtonStateNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DeviceFocusInEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DeviceKeyPressEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DeviceKeyStateNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DeviceMappingNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DevicePresenceNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DevicePropertyNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DeviceStateNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for DeviceValuatorEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for EnterNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ExposeEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ExtensionDeviceNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for FocusInEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for GenericEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for GraphicsExposureEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for GravityNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for IndicatorMapNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for IndicatorStateNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for InvalidateBuffersEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for KeyPressEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for KeymapNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for MapNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for MapNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for MapRequestEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for MappingNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for MotionNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for NamesNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for NewKeyboardNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for NoExposureEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for NotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for NotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for NotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for NotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for NotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for PbufferClobberEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for PortNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for PropertyNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ReparentNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ResizeRequestEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for ScreenChangeNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for SelectionClearEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for SelectionNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for SelectionNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for SelectionRequestEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for StateNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for UnknownEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for UnmapNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for VideoNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Raw<xcb_generic_event_t> for VisibilityNotifyEvent

Source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
Source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
Source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
Source§

impl Copy for xcb_generic_event_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.