pub enum TouchSensorChannel {
Channel1 = 3,
Channel2 = 4,
Channel3 = 5,
}Expand description
This driver supports 3 touch sensing channels and this enum maps to the physical ADC channel.
Variants§
Trait Implementations§
Source§impl Clone for TouchSensorChannel
impl Clone for TouchSensorChannel
Source§fn clone(&self) -> TouchSensorChannel
fn clone(&self) -> TouchSensorChannel
Returns a duplicate 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 moreimpl Copy for TouchSensorChannel
Auto Trait Implementations§
impl Freeze for TouchSensorChannel
impl RefUnwindSafe for TouchSensorChannel
impl Send for TouchSensorChannel
impl Sync for TouchSensorChannel
impl Unpin for TouchSensorChannel
impl UnwindSafe for TouchSensorChannel
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