Struct tinkerforge::lcd_128x64_bricklet::TouchGesture
source · pub struct TouchGesture {
pub gesture: u8,
pub duration: u32,
pub pressure_max: u16,
pub x_start: u16,
pub y_start: u16,
pub x_end: u16,
pub y_end: u16,
pub age: u32,
}
Fields§
§gesture: u8
§duration: u32
§pressure_max: u16
§x_start: u16
§y_start: u16
§x_end: u16
§y_end: u16
§age: u32
Trait Implementations§
source§impl Clone for TouchGesture
impl Clone for TouchGesture
source§fn clone(&self) -> TouchGesture
fn clone(&self) -> TouchGesture
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 TouchGesture
impl Debug for TouchGesture
source§impl Default for TouchGesture
impl Default for TouchGesture
source§fn default() -> TouchGesture
fn default() -> TouchGesture
Returns the “default value” for a type. Read more
source§impl FromByteSlice for TouchGesture
impl FromByteSlice for TouchGesture
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> TouchGesture
fn from_le_byte_slice(bytes: &[u8]) -> TouchGesture
Deserialize the implementing type from a byte slice.
source§impl Hash for TouchGesture
impl Hash for TouchGesture
source§impl PartialEq for TouchGesture
impl PartialEq for TouchGesture
source§fn eq(&self, other: &TouchGesture) -> bool
fn eq(&self, other: &TouchGesture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TouchGesture
impl Eq for TouchGesture
impl StructuralPartialEq for TouchGesture
Auto Trait Implementations§
impl RefUnwindSafe for TouchGesture
impl Send for TouchGesture
impl Sync for TouchGesture
impl Unpin for TouchGesture
impl UnwindSafe for TouchGesture
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