#[repr(u8)]pub enum Sim {
Spi4Wire = 1,
Spi3Wire = 0,
}Variants§
Spi4Wire = 1
SPI 4-wire interface enabled (disables interrupt and data-ready signaling)
Spi3Wire = 0
SPI 3-wire interface enabled
Trait Implementations§
impl Copy for Sim
impl StructuralPartialEq for Sim
Auto Trait Implementations§
impl Freeze for Sim
impl RefUnwindSafe for Sim
impl Send for Sim
impl Sync for Sim
impl Unpin for Sim
impl UnsafeUnpin for Sim
impl UnwindSafe for Sim
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