pub enum ToleranceGrade {
Precision,
Standard,
Loose,
Wide,
Ideal,
}Expand description
Tolerance grade for electronic components.
Variants§
Precision
±1% (precision resistors, film caps). Tight, predictable.
Standard
±5% (standard metal film resistors, quality ceramic caps).
Loose
±10% (carbon film resistors, electrolytic caps). Vintage character.
Wide
±20% (carbon composition resistors, cheap ceramics). Maximum variation.
Ideal
No tolerance applied. Ideal components.
Implementations§
Trait Implementations§
Source§impl Clone for ToleranceGrade
impl Clone for ToleranceGrade
Source§fn clone(&self) -> ToleranceGrade
fn clone(&self) -> ToleranceGrade
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 ToleranceGrade
Source§impl Debug for ToleranceGrade
impl Debug for ToleranceGrade
Source§impl PartialEq for ToleranceGrade
impl PartialEq for ToleranceGrade
Source§fn eq(&self, other: &ToleranceGrade) -> bool
fn eq(&self, other: &ToleranceGrade) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToleranceGrade
Auto Trait Implementations§
impl Freeze for ToleranceGrade
impl RefUnwindSafe for ToleranceGrade
impl Send for ToleranceGrade
impl Sync for ToleranceGrade
impl Unpin for ToleranceGrade
impl UnsafeUnpin for ToleranceGrade
impl UnwindSafe for ToleranceGrade
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