Struct x11rb_protocol::protocol::xinput::DeviceTimeCoord
source · pub struct DeviceTimeCoord {
pub time: Timestamp,
pub axisvalues: Vec<i32>,
}
Fields§
§time: Timestamp
§axisvalues: Vec<i32>
Implementations§
Trait Implementations§
source§impl Clone for DeviceTimeCoord
impl Clone for DeviceTimeCoord
source§fn clone(&self) -> DeviceTimeCoord
fn clone(&self) -> DeviceTimeCoord
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeviceTimeCoord
impl Debug for DeviceTimeCoord
source§impl Default for DeviceTimeCoord
impl Default for DeviceTimeCoord
source§fn default() -> DeviceTimeCoord
fn default() -> DeviceTimeCoord
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeviceTimeCoord
impl<'de> Deserialize<'de> for DeviceTimeCoord
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for DeviceTimeCoord
impl Hash for DeviceTimeCoord
source§impl Ord for DeviceTimeCoord
impl Ord for DeviceTimeCoord
source§fn cmp(&self, other: &DeviceTimeCoord) -> Ordering
fn cmp(&self, other: &DeviceTimeCoord) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DeviceTimeCoord
impl PartialEq for DeviceTimeCoord
source§fn eq(&self, other: &DeviceTimeCoord) -> bool
fn eq(&self, other: &DeviceTimeCoord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeviceTimeCoord
impl PartialOrd for DeviceTimeCoord
source§fn partial_cmp(&self, other: &DeviceTimeCoord) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceTimeCoord) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for DeviceTimeCoord
impl Serialize for DeviceTimeCoord
impl Eq for DeviceTimeCoord
impl StructuralPartialEq for DeviceTimeCoord
Auto Trait Implementations§
impl Freeze for DeviceTimeCoord
impl RefUnwindSafe for DeviceTimeCoord
impl Send for DeviceTimeCoord
impl Sync for DeviceTimeCoord
impl Unpin for DeviceTimeCoord
impl UnwindSafe for DeviceTimeCoord
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more