pub struct Resistor {
pub name: String,
pub nodes: [String; 2],
pub value: f64,
}Expand description
RXXXXXXX N1 N2 VALUE (ohms; nonzero).
Fields§
§name: String§nodes: [String; 2]§value: f64Trait Implementations§
Auto Trait Implementations§
impl Forget for Resistor
impl Freeze for Resistor
impl Move for Resistor
impl RefUnwindSafe for Resistor
impl Send for Resistor
impl Sync for Resistor
impl Unpin for Resistor
impl UnsafeUnpin for Resistor
impl UnwindSafe for Resistor
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