[−][src]Struct wayland_protocols::unstable::input_timestamps::v1::server::zwp_input_timestamps_v1::ZwpInputTimestampsV1
Implementations
impl ZwpInputTimestampsV1
[src]
pub fn timestamp(&self, tv_sec_hi: u32, tv_sec_lo: u32, tv_nsec: u32)
[src]
high-resolution timestamp event
The timestamp event is associated with the first subsequent input event carrying a timestamp which belongs to the set of input events this object is subscribed to.
The timestamp provided by this event is a high-resolution version of the timestamp argument of the associated input event. The provided timestamp is in the same clock domain and is at least as accurate as the associated input event timestamp.
The timestamp is expressed as tv_sec_hi, tv_sec_lo, tv_nsec triples, each component being an unsigned 32-bit value. Whole seconds are in tv_sec which is a 64-bit value combined from tv_sec_hi and tv_sec_lo, and the additional fractional part in tv_nsec as nanoseconds. Hence, for valid timestamps tv_nsec must be in [0, 999999999].
Trait Implementations
impl AsRef<Resource<ZwpInputTimestampsV1>> for ZwpInputTimestampsV1
[src]
impl Clone for ZwpInputTimestampsV1
[src]
fn clone(&self) -> ZwpInputTimestampsV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZwpInputTimestampsV1
[src]
impl Eq for ZwpInputTimestampsV1
[src]
impl From<Resource<ZwpInputTimestampsV1>> for ZwpInputTimestampsV1
[src]
impl From<ZwpInputTimestampsV1> for Resource<ZwpInputTimestampsV1>
[src]
fn from(value: ZwpInputTimestampsV1) -> Self
[src]
impl Interface for ZwpInputTimestampsV1
[src]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwpInputTimestampsV1> for ZwpInputTimestampsV1
[src]
fn eq(&self, other: &ZwpInputTimestampsV1) -> bool
[src]
fn ne(&self, other: &ZwpInputTimestampsV1) -> bool
[src]
impl StructuralEq for ZwpInputTimestampsV1
[src]
impl StructuralPartialEq for ZwpInputTimestampsV1
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwpInputTimestampsV1
impl Send for ZwpInputTimestampsV1
impl Sync for ZwpInputTimestampsV1
impl Unpin for ZwpInputTimestampsV1
impl !UnwindSafe for ZwpInputTimestampsV1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,