pub enum PinPolarity {
ActiveHigh,
ActiveLow,
NonInverting,
Inverting,
Unknown,
}Expand description
Descriptive pin polarity vocabulary.
Variants§
Trait Implementations§
Source§impl Clone for PinPolarity
impl Clone for PinPolarity
Source§fn clone(&self) -> PinPolarity
fn clone(&self) -> PinPolarity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PinPolarity
impl Debug for PinPolarity
Source§impl Display for PinPolarity
impl Display for PinPolarity
Source§impl FromStr for PinPolarity
impl FromStr for PinPolarity
Source§impl Hash for PinPolarity
impl Hash for PinPolarity
Source§impl Ord for PinPolarity
impl Ord for PinPolarity
Source§fn cmp(&self, other: &PinPolarity) -> Ordering
fn cmp(&self, other: &PinPolarity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PinPolarity
impl PartialEq for PinPolarity
Source§fn eq(&self, other: &PinPolarity) -> bool
fn eq(&self, other: &PinPolarity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PinPolarity
impl PartialOrd for PinPolarity
impl Copy for PinPolarity
impl Eq for PinPolarity
impl StructuralPartialEq for PinPolarity
Auto Trait Implementations§
impl Freeze for PinPolarity
impl RefUnwindSafe for PinPolarity
impl Send for PinPolarity
impl Sync for PinPolarity
impl Unpin for PinPolarity
impl UnsafeUnpin for PinPolarity
impl UnwindSafe for PinPolarity
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