Struct resistor_calc::RRes [−][src]
pub struct RRes { /* fields omitted */ }
Stores the result of a calculation.
Methods
impl RRes
[src]
impl RRes
pub fn print_best(&self)
[src]
pub fn print_best(&self)
Print all combinations that share the lowest error value.
pub fn iter(
&self
) -> impl Iterator<Item = &(u64, RSet)>
[src]
pub fn iter(
&self
) -> impl Iterator<Item = &(u64, RSet)>
Provides an iterator over all results in the object. They are presented from lowest to
highest error value, within a given error value different combinations may be presented in
any order. The item type is &(u64, RSet)
, where the first value is parts in a billion
error (floor(err * 1e9)
).