Struct rppal::i2c::Capabilities[][src]

pub struct Capabilities { /* fields omitted */ }

Lists the features supported by the underlying drivers.

Implementations

impl Capabilities[src]

pub fn addr_10bit(self) -> bool[src]

Indicates whether 10-bit addresses are supported.

pub fn i2c_block_read(self) -> bool[src]

Indicates whether I2C Block Read is supported.

pub fn i2c_block_write(self) -> bool[src]

Indicates whether I2C Block Write is supported.

pub fn smbus_quick_command(self) -> bool[src]

Indicates whether SMBus Quick Command is supported.

pub fn smbus_receive_byte(self) -> bool[src]

Indicates whether SMBus Receive Byte is supported.

pub fn smbus_send_byte(self) -> bool[src]

Indicates whether SMBus Send Byte is supported.

pub fn smbus_read_byte(self) -> bool[src]

Indicates whether SMBus Read Byte is supported.

pub fn smbus_write_byte(self) -> bool[src]

Indicates whether SMBus Write Byte is supported.

pub fn smbus_read_word(self) -> bool[src]

Indicates whether SMBus Read Word is supported.

pub fn smbus_write_word(self) -> bool[src]

Indicates whether SMBus Write Word is supported.

pub fn smbus_process_call(self) -> bool[src]

Indicates whether SMBus Process Call is supported.

pub fn smbus_block_read(self) -> bool[src]

Indicates whether SMBus Block Read is supported.

pub fn smbus_block_write(self) -> bool[src]

Indicates whether SMBus Block Write is supported.

pub fn smbus_block_process_call(self) -> bool[src]

Indicates whether SMBus Block Process Call is supported.

pub fn smbus_pec(self) -> bool[src]

Indicates whether SMBus Packet Error Checking is supported.

pub fn smbus_host_notify(self) -> bool[src]

Indicates whether SMBus Host Notify is supported.

Trait Implementations

impl Clone for Capabilities[src]

impl Copy for Capabilities[src]

impl Debug for Capabilities[src]

impl PartialEq<Capabilities> for Capabilities[src]

impl StructuralPartialEq for Capabilities[src]

Auto Trait Implementations

impl RefUnwindSafe for Capabilities[src]

impl Send for Capabilities[src]

impl Sync for Capabilities[src]

impl Unpin for Capabilities[src]

impl UnwindSafe for Capabilities[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.