Enum wayland_protocols::unstable::input_timestamps::v1::client::zwp_input_timestamps_manager_v1::Request
source · #[non_exhaustive]pub enum Request {
Destroy,
GetKeyboardTimestamps {
keyboard: WlKeyboard,
},
GetPointerTimestamps {
pointer: WlPointer,
},
GetTouchTimestamps {
touch: WlTouch,
},
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Destroy
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, once sent this object cannot be used any longer.
GetKeyboardTimestamps
Fields
keyboard: WlKeyboard
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.
GetPointerTimestamps
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.
GetTouchTimestamps
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 MessageGroup for Request
impl MessageGroup for Request
source§const MESSAGES: &'static [MessageDesc] = _
const MESSAGES: &'static [MessageDesc] = _
§type Map = ProxyMap
type Map = ProxyMap
source§fn is_destructor(&self) -> bool
fn is_destructor(&self) -> bool
source§fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn child<Meta: ObjectMetadata>( opcode: u16, version: u32, meta: &Meta ) -> Option<Object<Meta>>
Object
associated with this message if any