Struct rust_i2c::Command[][src]

pub struct Command {
    pub cmd: u8,
    pub data: Vec<u8>,
}

Struct for abstracting I2C command/data structure

Fields

I2C command or registry

Data to write to registry

Trait Implementations

impl Debug for Command
[src]

Formats the value using the given formatter. Read more

impl Eq for Command
[src]

impl PartialEq for Command
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Command

impl Sync for Command