pub enum DiodePolarity {
Anode,
Cathode,
}Expand description
Diode terminal polarity vocabulary.
Variants§
Trait Implementations§
Source§impl Clone for DiodePolarity
impl Clone for DiodePolarity
Source§fn clone(&self) -> DiodePolarity
fn clone(&self) -> DiodePolarity
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 DiodePolarity
impl Debug for DiodePolarity
Source§impl Display for DiodePolarity
impl Display for DiodePolarity
Source§impl FromStr for DiodePolarity
impl FromStr for DiodePolarity
Source§impl Hash for DiodePolarity
impl Hash for DiodePolarity
Source§impl Ord for DiodePolarity
impl Ord for DiodePolarity
Source§fn cmp(&self, other: &DiodePolarity) -> Ordering
fn cmp(&self, other: &DiodePolarity) -> 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 DiodePolarity
impl PartialEq for DiodePolarity
Source§fn eq(&self, other: &DiodePolarity) -> bool
fn eq(&self, other: &DiodePolarity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DiodePolarity
impl PartialOrd for DiodePolarity
impl Copy for DiodePolarity
impl Eq for DiodePolarity
impl StructuralPartialEq for DiodePolarity
Auto Trait Implementations§
impl Freeze for DiodePolarity
impl RefUnwindSafe for DiodePolarity
impl Send for DiodePolarity
impl Sync for DiodePolarity
impl Unpin for DiodePolarity
impl UnsafeUnpin for DiodePolarity
impl UnwindSafe for DiodePolarity
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