Struct rusty_nail::dispenser::TestDispenser [] [src]

pub struct TestDispenser {
    pub max_flow_rate: f64,
    pub fluid_level: f64,
}

Fields

Methods

impl TestDispenser
[src]

Trait Implementations

impl Debug for TestDispenser
[src]

Formats the value using the given formatter.

impl Dispenser for TestDispenser
[src]

Returns the maximum flow rate of the pump in mL/s

Sets the current flow rate of the pump in mL/s

Set the current liquid level in mL.

Get the current liquid level in mL.

Dispense some quantity of liquid in mL.