pub enum CapacitorKind {
Ceramic,
Electrolytic,
Tantalum,
Film,
Supercapacitor,
Variable,
Unknown,
Custom(String),
}Expand description
Descriptive capacitor kind vocabulary.
Variants§
Trait Implementations§
Source§impl Clone for CapacitorKind
impl Clone for CapacitorKind
Source§fn clone(&self) -> CapacitorKind
fn clone(&self) -> CapacitorKind
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 CapacitorKind
impl Debug for CapacitorKind
Source§impl Display for CapacitorKind
impl Display for CapacitorKind
Source§impl FromStr for CapacitorKind
impl FromStr for CapacitorKind
Source§impl Hash for CapacitorKind
impl Hash for CapacitorKind
Source§impl Ord for CapacitorKind
impl Ord for CapacitorKind
Source§fn cmp(&self, other: &CapacitorKind) -> Ordering
fn cmp(&self, other: &CapacitorKind) -> 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 CapacitorKind
impl PartialEq for CapacitorKind
Source§fn eq(&self, other: &CapacitorKind) -> bool
fn eq(&self, other: &CapacitorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CapacitorKind
impl PartialOrd for CapacitorKind
impl Eq for CapacitorKind
impl StructuralPartialEq for CapacitorKind
Auto Trait Implementations§
impl Freeze for CapacitorKind
impl RefUnwindSafe for CapacitorKind
impl Send for CapacitorKind
impl Sync for CapacitorKind
impl Unpin for CapacitorKind
impl UnsafeUnpin for CapacitorKind
impl UnwindSafe for CapacitorKind
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