Struct wayland_protocols::unstable::input_timestamps::v1::client::zwp_input_timestamps_manager_v1::ZwpInputTimestampsManagerV1
source · pub struct ZwpInputTimestampsManagerV1(/* private fields */);
Implementations§
source§impl ZwpInputTimestampsManagerV1
impl ZwpInputTimestampsManagerV1
sourcepub fn destroy(&self)
pub fn destroy(&self)
destroy the input timestamps manager object
Informs the server that the client will no longer be using this protocol object. Existing objects created by this object are not affected.
This is a destructor, you cannot send requests to this object any longer once this method is called.
sourcepub fn get_keyboard_timestamps(
&self,
keyboard: &WlKeyboard
) -> Main<ZwpInputTimestampsV1>
pub fn get_keyboard_timestamps( &self, keyboard: &WlKeyboard ) -> Main<ZwpInputTimestampsV1>
subscribe to high-resolution keyboard timestamp events
Creates a new input timestamps object that represents a subscription to high-resolution timestamp events for all wl_keyboard events that carry a timestamp.
If the associated wl_keyboard object is invalidated, either through client action (e.g. release) or server-side changes, the input timestamps object becomes inert and the client should destroy it by calling zwp_input_timestamps_v1.destroy.
sourcepub fn get_pointer_timestamps(
&self,
pointer: &WlPointer
) -> Main<ZwpInputTimestampsV1>
pub fn get_pointer_timestamps( &self, pointer: &WlPointer ) -> Main<ZwpInputTimestampsV1>
subscribe to high-resolution pointer timestamp events
Creates a new input timestamps object that represents a subscription to high-resolution timestamp events for all wl_pointer events that carry a timestamp.
If the associated wl_pointer object is invalidated, either through client action (e.g. release) or server-side changes, the input timestamps object becomes inert and the client should destroy it by calling zwp_input_timestamps_v1.destroy.
sourcepub fn get_touch_timestamps(
&self,
touch: &WlTouch
) -> Main<ZwpInputTimestampsV1>
pub fn get_touch_timestamps( &self, touch: &WlTouch ) -> Main<ZwpInputTimestampsV1>
subscribe to high-resolution touch timestamp events
Creates a new input timestamps object that represents a subscription to high-resolution timestamp events for all wl_touch events that carry a timestamp.
If the associated wl_touch object becomes invalid, either through client action (e.g. release) or server-side changes, the input timestamps object becomes inert and the client should destroy it by calling zwp_input_timestamps_v1.destroy.
Trait Implementations§
source§impl Clone for ZwpInputTimestampsManagerV1
impl Clone for ZwpInputTimestampsManagerV1
source§fn clone(&self) -> ZwpInputTimestampsManagerV1
fn clone(&self) -> ZwpInputTimestampsManagerV1
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ZwpInputTimestampsManagerV1
impl Debug for ZwpInputTimestampsManagerV1
source§impl From<ZwpInputTimestampsManagerV1> for Proxy<ZwpInputTimestampsManagerV1>
impl From<ZwpInputTimestampsManagerV1> for Proxy<ZwpInputTimestampsManagerV1>
source§fn from(value: ZwpInputTimestampsManagerV1) -> Self
fn from(value: ZwpInputTimestampsManagerV1) -> Self
source§impl Interface for ZwpInputTimestampsManagerV1
impl Interface for ZwpInputTimestampsManagerV1
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
source§impl PartialEq for ZwpInputTimestampsManagerV1
impl PartialEq for ZwpInputTimestampsManagerV1
source§fn eq(&self, other: &ZwpInputTimestampsManagerV1) -> bool
fn eq(&self, other: &ZwpInputTimestampsManagerV1) -> bool
self
and other
values to be equal, and is used
by ==
.