Struct tinkerforge::lcd_128x64_bricklet::TouchPosition
source · pub struct TouchPosition {
pub pressure: u16,
pub x: u16,
pub y: u16,
pub age: u32,
}
Fields§
§pressure: u16
§x: u16
§y: u16
§age: u32
Trait Implementations§
source§impl Clone for TouchPosition
impl Clone for TouchPosition
source§fn clone(&self) -> TouchPosition
fn clone(&self) -> TouchPosition
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 TouchPosition
impl Debug for TouchPosition
source§impl Default for TouchPosition
impl Default for TouchPosition
source§fn default() -> TouchPosition
fn default() -> TouchPosition
Returns the “default value” for a type. Read more
source§impl FromByteSlice for TouchPosition
impl FromByteSlice for TouchPosition
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]) -> TouchPosition
fn from_le_byte_slice(bytes: &[u8]) -> TouchPosition
Deserialize the implementing type from a byte slice.
source§impl Hash for TouchPosition
impl Hash for TouchPosition
source§impl PartialEq for TouchPosition
impl PartialEq for TouchPosition
source§fn eq(&self, other: &TouchPosition) -> bool
fn eq(&self, other: &TouchPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TouchPosition
impl Eq for TouchPosition
impl StructuralPartialEq for TouchPosition
Auto Trait Implementations§
impl RefUnwindSafe for TouchPosition
impl Send for TouchPosition
impl Sync for TouchPosition
impl Unpin for TouchPosition
impl UnwindSafe for TouchPosition
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