Struct capsules_extra::ft6x06::Ft6x06
source · 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