pub enum SymbolType {
Show 27 variants
Resistor,
Capacitor,
ElectrolyticCap,
Inductor,
Diode,
Zener,
Triode,
Pentode,
NJfet,
PJfet,
NpnBjt,
PnpBjt,
Nmos,
Pmos,
OpAmp,
Pot,
Transformer,
Photocoupler,
IcChip,
Ground,
Supply,
Speaker,
Input,
Output,
Lfo,
Neon,
Switch,
}Expand description
Enumeration of all symbol types used in the layout.
Variants§
Resistor
Capacitor
ElectrolyticCap
Inductor
Diode
Zener
Triode
Pentode
NJfet
PJfet
NpnBjt
PnpBjt
Nmos
Pmos
OpAmp
Pot
Transformer
Photocoupler
IcChip
Ground
Supply
Speaker
Input
Output
Lfo
Neon
Switch
Trait Implementations§
Source§impl Clone for SymbolType
impl Clone for SymbolType
Source§fn clone(&self) -> SymbolType
fn clone(&self) -> SymbolType
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 moreimpl Copy for SymbolType
Source§impl Debug for SymbolType
impl Debug for SymbolType
Source§impl<'de> Deserialize<'de> for SymbolType
impl<'de> Deserialize<'de> for SymbolType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SymbolType
Source§impl Hash for SymbolType
impl Hash for SymbolType
Source§impl PartialEq for SymbolType
impl PartialEq for SymbolType
Source§fn eq(&self, other: &SymbolType) -> bool
fn eq(&self, other: &SymbolType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SymbolType
impl Serialize for SymbolType
impl StructuralPartialEq for SymbolType
Auto Trait Implementations§
impl Freeze for SymbolType
impl RefUnwindSafe for SymbolType
impl Send for SymbolType
impl Sync for SymbolType
impl Unpin for SymbolType
impl UnsafeUnpin for SymbolType
impl UnwindSafe for SymbolType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.