pub enum CommInterface {
SPI = 0,
I2C = 1,
}
Expand description
Hardware communication interface (SPI & I2C)
Variants§
Trait Implementations§
Source§impl Clone for CommInterface
impl Clone for CommInterface
Source§fn clone(&self) -> CommInterface
fn clone(&self) -> CommInterface
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 moreSource§impl Debug for CommInterface
impl Debug for CommInterface
Source§impl PartialEq for CommInterface
impl PartialEq for CommInterface
impl Copy for CommInterface
impl StructuralPartialEq for CommInterface
Auto Trait Implementations§
impl Freeze for CommInterface
impl RefUnwindSafe for CommInterface
impl Send for CommInterface
impl Sync for CommInterface
impl Unpin for CommInterface
impl UnwindSafe for CommInterface
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