Struct resistor_calc::RSet[][src]

pub struct RSet(_);

A binding of values to the set of resistors in a calculation.

Methods

impl RSet
[src]

Retrieves the value of R{idx}, starting from R1, R2, ..., Rn

Examples

    for (err, rset) in ret.iter() {
        println!("R1 = {}", rset.r(1));
        println!("R2 = {}", rset.r(2));
    }

Returns the sum of all the values in the set. Good for presenting overall bounds on dividers.

Trait Implementations

impl Debug for RSet
[src]

Formats the value using the given formatter. Read more

impl Display for RSet
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for RSet

impl Sync for RSet