pub struct DiodeOptions {Show 16 fields
pub cathode_parameter: String,
pub anode_parameter: String,
pub type_parameter: String,
pub color_parameter: String,
pub visibility_parameter: String,
pub positive_parameter: String,
pub negative_parameter: String,
pub default_cathode_pad: String,
pub color_mode: DiodeColorMode,
pub visibility_mode: DiodeVisibilityMode,
pub designator_prefixes: Vec<String>,
pub keywords: Vec<String>,
pub cathode_pad_names: Vec<String>,
pub other_family_prefixes: Vec<String>,
pub overrides: BTreeMap<String, DiodeOverride>,
pub excluded_designators: BTreeSet<String>,
}Expand description
Configuration for DIODES_TOP and DIODES_BOTTOM detection and rendering.
Fields§
§cathode_parameter: String§anode_parameter: String§type_parameter: String§color_parameter: String§visibility_parameter: String§positive_parameter: String§negative_parameter: String§default_cathode_pad: String§color_mode: DiodeColorMode§visibility_mode: DiodeVisibilityMode§designator_prefixes: Vec<String>§keywords: Vec<String>§cathode_pad_names: Vec<String>§other_family_prefixes: Vec<String>§overrides: BTreeMap<String, DiodeOverride>§excluded_designators: BTreeSet<String>Trait Implementations§
Source§impl Clone for DiodeOptions
impl Clone for DiodeOptions
Source§fn clone(&self) -> DiodeOptions
fn clone(&self) -> DiodeOptions
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 DiodeOptions
impl Debug for DiodeOptions
Source§impl Default for DiodeOptions
impl Default for DiodeOptions
Source§impl<'de> Deserialize<'de> for DiodeOptions
impl<'de> Deserialize<'de> for DiodeOptions
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 DiodeOptions
Source§impl PartialEq for DiodeOptions
impl PartialEq for DiodeOptions
Source§impl Serialize for DiodeOptions
impl Serialize for DiodeOptions
impl StructuralPartialEq for DiodeOptions
Auto Trait Implementations§
impl Freeze for DiodeOptions
impl RefUnwindSafe for DiodeOptions
impl Send for DiodeOptions
impl Sync for DiodeOptions
impl Unpin for DiodeOptions
impl UnsafeUnpin for DiodeOptions
impl UnwindSafe for DiodeOptions
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
Checks if this value is equivalent to the given key. Read more
§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.