Struct common::args::ConvArgs[][src]

pub struct ConvArgs {
    pub ph: f64,
    pub custom: bool,
    pub calibration: Option<[f64; 2]>,
}
Expand description

Command line arguments struct, infile, outfile, and silent (i.e. emit to stdout)

Fields

ph: f64

pH measured

custom: bool

Give custom calibration values insted of reading calibration.ph

calibration: Option<[f64; 2]>

Implementations

Parse command line arguments

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.