Struct x11rb::protocol::xinput::DeviceTimeCoord
source · pub struct DeviceTimeCoord {
pub time: u32,
pub axisvalues: Vec<i32>,
}
Fields§
§time: u32
§axisvalues: Vec<i32>
Implementations§
source§impl DeviceTimeCoord
impl DeviceTimeCoord
pub fn try_parse( remaining: &[u8], num_axes: u8, ) -> Result<(DeviceTimeCoord, &[u8]), ParseError>
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
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