Trait AsRaw

Source
pub trait AsRaw<T> {
    // Required method
    fn as_raw(&self) -> *const T;
}
Expand description

Trait for types that allow to optain the underlying raw libinput pointer.

Required Methods§

Source

fn as_raw(&self) -> *const T

Receive a raw pointer representing this type.

Implementors§

Source§

impl AsRaw<libinput> for Libinput

Source§

impl AsRaw<libinput_device> for Device

Source§

impl AsRaw<libinput_device_group> for DeviceGroup

Source§

impl AsRaw<libinput_event> for Event

Source§

impl AsRaw<libinput_event_device_notify> for DeviceEvent

Source§

impl AsRaw<libinput_event_device_notify> for DeviceAddedEvent

Source§

impl AsRaw<libinput_event_device_notify> for DeviceRemovedEvent

Source§

impl AsRaw<libinput_event_gesture> for GestureEvent

Source§

impl AsRaw<libinput_event_gesture> for GestureHoldEvent

Source§

impl AsRaw<libinput_event_gesture> for GesturePinchEvent

Source§

impl AsRaw<libinput_event_gesture> for GestureSwipeEvent

Source§

impl AsRaw<libinput_event_gesture> for GestureHoldBeginEvent

Source§

impl AsRaw<libinput_event_gesture> for GestureHoldEndEvent

Source§

impl AsRaw<libinput_event_gesture> for GesturePinchBeginEvent

Source§

impl AsRaw<libinput_event_gesture> for GesturePinchEndEvent

Source§

impl AsRaw<libinput_event_gesture> for GesturePinchUpdateEvent

Source§

impl AsRaw<libinput_event_gesture> for GestureSwipeBeginEvent

Source§

impl AsRaw<libinput_event_gesture> for GestureSwipeEndEvent

Source§

impl AsRaw<libinput_event_gesture> for GestureSwipeUpdateEvent

Source§

impl AsRaw<libinput_event_keyboard> for KeyboardEvent

Source§

impl AsRaw<libinput_event_keyboard> for KeyboardKeyEvent

Source§

impl AsRaw<libinput_event_pointer> for PointerEvent

Source§

impl AsRaw<libinput_event_pointer> for PointerAxisEvent

Source§

impl AsRaw<libinput_event_pointer> for PointerButtonEvent

Source§

impl AsRaw<libinput_event_pointer> for PointerMotionAbsoluteEvent

Source§

impl AsRaw<libinput_event_pointer> for PointerMotionEvent

Source§

impl AsRaw<libinput_event_pointer> for PointerScrollContinuousEvent

Source§

impl AsRaw<libinput_event_pointer> for PointerScrollFingerEvent

Source§

impl AsRaw<libinput_event_pointer> for PointerScrollWheelEvent

Source§

impl AsRaw<libinput_event_switch> for SwitchEvent

Source§

impl AsRaw<libinput_event_switch> for SwitchToggleEvent

Source§

impl AsRaw<libinput_event_tablet_pad> for TabletPadEvent

Source§

impl AsRaw<libinput_event_tablet_pad> for TabletPadButtonEvent

Source§

impl AsRaw<libinput_event_tablet_pad> for TabletPadKeyEvent

Source§

impl AsRaw<libinput_event_tablet_pad> for TabletPadRingEvent

Source§

impl AsRaw<libinput_event_tablet_pad> for TabletPadStripEvent

Source§

impl AsRaw<libinput_event_tablet_tool> for TabletToolEvent

Source§

impl AsRaw<libinput_event_tablet_tool> for TabletToolAxisEvent

Source§

impl AsRaw<libinput_event_tablet_tool> for TabletToolButtonEvent

Source§

impl AsRaw<libinput_event_tablet_tool> for TabletToolProximityEvent

Source§

impl AsRaw<libinput_event_tablet_tool> for TabletToolTipEvent

Source§

impl AsRaw<libinput_event_touch> for TouchEvent

Source§

impl AsRaw<libinput_event_touch> for TouchCancelEvent

Source§

impl AsRaw<libinput_event_touch> for TouchDownEvent

Source§

impl AsRaw<libinput_event_touch> for TouchFrameEvent

Source§

impl AsRaw<libinput_event_touch> for TouchMotionEvent

Source§

impl AsRaw<libinput_event_touch> for TouchUpEvent

Source§

impl AsRaw<libinput_seat> for Seat

Source§

impl AsRaw<libinput_tablet_pad_mode_group> for TabletPadModeGroup

Source§

impl AsRaw<libinput_tablet_tool> for TabletTool