Struct mcp3425::Voltage [] [src]

pub struct Voltage { /* fields omitted */ }

A voltage measurement.

Methods

impl Voltage
[src]

[src]

Create a new Voltage instance from a millivolt measurement.

[src]

Return the voltage in millivolts.

[src]

Return the voltage in volts.

Trait Implementations

impl Debug for Voltage
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Voltage
[src]

impl Clone for Voltage
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Voltage
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Voltage
[src]

Auto Trait Implementations

impl Send for Voltage

impl Sync for Voltage