Struct mcp4725::Command[][src]

pub struct Command { /* fields omitted */ }
Expand description

A Command to send to the MCP4725. Using the address(), command_type(), power_mode() and data() builder methods the parameters for this command can be set. Commands can be sent using the send method on the MCP4725 driver. A command can (and should) be re-used. data() can be used to re-set the data while keeping other parameters the same.

Trait Implementations

Formats the value using the given formatter. Read more

Instantiate a command with sane defaults.

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

This method tests for !=.

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.