pub enum WarningSeverity {
Info,
Caution,
Danger,
}Expand description
Severity of a voltage compatibility warning.
Variants§
Info
Informational — the component should be fine, but behavior may differ from the canonical 9V version (e.g. slightly different bias point).
Caution
The component is likely operating outside its typical ratings and may clip, distort differently, or wear out faster in a real build.
Danger
The component would almost certainly fail or be damaged at this voltage in a physical build.
Trait Implementations§
Source§impl Clone for WarningSeverity
impl Clone for WarningSeverity
Source§fn clone(&self) -> WarningSeverity
fn clone(&self) -> WarningSeverity
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 WarningSeverity
Source§impl Debug for WarningSeverity
impl Debug for WarningSeverity
impl Eq for WarningSeverity
Source§impl PartialEq for WarningSeverity
impl PartialEq for WarningSeverity
Source§fn eq(&self, other: &WarningSeverity) -> bool
fn eq(&self, other: &WarningSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WarningSeverity
Auto Trait Implementations§
impl Freeze for WarningSeverity
impl RefUnwindSafe for WarningSeverity
impl Send for WarningSeverity
impl Sync for WarningSeverity
impl Unpin for WarningSeverity
impl UnsafeUnpin for WarningSeverity
impl UnwindSafe for WarningSeverity
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<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.