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
sourceimpl Clone for TouchGesture
impl Clone for TouchGesture
sourcefn clone(&self) -> TouchGesture
fn clone(&self) -> TouchGesture
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TouchGesture
impl Debug for TouchGesture
sourceimpl Default for TouchGesture
impl Default for TouchGesture
sourcefn default() -> TouchGesture
fn default() -> TouchGesture
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for TouchGesture
impl FromByteSlice for TouchGesture
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> TouchGesture
fn from_le_bytes(bytes: &[u8]) -> TouchGesture
Deserialize the implementing type from a byte slice.
sourceimpl Hash for TouchGesture
impl Hash for TouchGesture
sourceimpl PartialEq<TouchGesture> for TouchGesture
impl PartialEq<TouchGesture> for TouchGesture
sourcefn eq(&self, other: &TouchGesture) -> bool
fn eq(&self, other: &TouchGesture) -> bool
impl Copy for TouchGesture
impl Eq for TouchGesture
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more