Enum max44009::SlaveAddr [−][src]
pub enum SlaveAddr { Default, Alternative(bool), }
Possible slave addresses
Variants
Default
Default slave address
Alternative(bool)
Alternative slave address providing bit value for A0
Trait Implementations
impl Debug for SlaveAddr
[src]
impl Debug for SlaveAddr
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SlaveAddr
[src]
impl Clone for SlaveAddr
fn clone(&self) -> SlaveAddr
[src]
fn clone(&self) -> SlaveAddr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SlaveAddr
[src]
impl PartialEq for SlaveAddr
fn eq(&self, other: &SlaveAddr) -> bool
[src]
fn eq(&self, other: &SlaveAddr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SlaveAddr) -> bool
[src]
fn ne(&self, other: &SlaveAddr) -> bool
This method tests for !=
.
impl Default for SlaveAddr
[src]
impl Default for SlaveAddr