pub struct Ft6x06<'a, I: I2CDevice> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a, I: I2CDevice> Gesture<'a> for Ft6x06<'a, I>
impl<'a, I: I2CDevice> Gesture<'a> for Ft6x06<'a, I>
Source§fn set_client(&self, client: &'a dyn GestureClient)
fn set_client(&self, client: &'a dyn GestureClient)
Set the gesture client
Source§impl<'a, I: I2CDevice> MultiTouch<'a> for Ft6x06<'a, I>
impl<'a, I: I2CDevice> MultiTouch<'a> for Ft6x06<'a, I>
Source§fn get_num_touches(&self) -> usize
fn get_num_touches(&self) -> usize
Returns the number of maximum concurently supported touches.
Source§fn get_touch(&self, index: usize) -> Option<TouchEvent>
fn get_touch(&self, index: usize) -> Option<TouchEvent>
Returns the touch event at index or
None
. Read moreSource§fn set_client(&self, client: &'a dyn MultiTouchClient)
fn set_client(&self, client: &'a dyn MultiTouchClient)
Set the multi-touch client
Auto Trait Implementations§
impl<'a, I> !Freeze for Ft6x06<'a, I>
impl<'a, I> !RefUnwindSafe for Ft6x06<'a, I>
impl<'a, I> !Send for Ft6x06<'a, I>
impl<'a, I> !Sync for Ft6x06<'a, I>
impl<'a, I> Unpin for Ft6x06<'a, I>
impl<'a, I> !UnwindSafe for Ft6x06<'a, I>
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