Enum ComponentKind
pub enum ComponentKind {
Resistor,
Capacitor,
Inductor,
Diode,
Transistor,
IntegratedCircuit,
Connector,
Switch,
Sensor,
PowerSupply,
Unknown,
Custom(String),
}Expand description
A small electronic component classification vocabulary.
Variants§
Resistor
Capacitor
Inductor
Diode
Transistor
IntegratedCircuit
Connector
Switch
Sensor
PowerSupply
Unknown
Custom(String)
Implementations§
§impl ComponentKind
impl ComponentKind
Trait Implementations§
§impl Clone for ComponentKind
impl Clone for ComponentKind
§fn clone(&self) -> ComponentKind
fn clone(&self) -> ComponentKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ComponentKind
impl Debug for ComponentKind
§impl Display for ComponentKind
impl Display for ComponentKind
§impl FromStr for ComponentKind
impl FromStr for ComponentKind
§impl Hash for ComponentKind
impl Hash for ComponentKind
§impl Ord for ComponentKind
impl Ord for ComponentKind
§impl PartialEq for ComponentKind
impl PartialEq for ComponentKind
§impl PartialOrd for ComponentKind
impl PartialOrd for ComponentKind
impl Eq for ComponentKind
impl StructuralPartialEq for ComponentKind
Auto Trait Implementations§
impl Freeze for ComponentKind
impl RefUnwindSafe for ComponentKind
impl Send for ComponentKind
impl Sync for ComponentKind
impl Unpin for ComponentKind
impl UnsafeUnpin for ComponentKind
impl UnwindSafe for ComponentKind
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