Enum embedded_hal_nb::spi::Polarity
source · pub enum Polarity {
IdleLow,
IdleHigh,
}
Expand description
Clock polarity.
Variants§
Trait Implementations§
source§impl PartialEq for Polarity
impl PartialEq for Polarity
impl Copy for Polarity
impl Eq for Polarity
impl StructuralEq for Polarity
impl StructuralPartialEq for Polarity
Auto Trait Implementations§
impl RefUnwindSafe for Polarity
impl Send for Polarity
impl Sync for Polarity
impl Unpin for Polarity
impl UnwindSafe for Polarity
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