[−][src]Struct rppal::i2c::Capabilities
Lists the features supported by the underlying drivers.
Methods
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]
fn clone(&self) -> Capabilities
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Capabilities
[src]
impl Debug for Capabilities
[src]
impl PartialEq<Capabilities> for Capabilities
[src]
fn eq(&self, other: &Capabilities) -> bool
[src]
fn ne(&self, other: &Capabilities) -> bool
[src]
impl StructuralPartialEq for Capabilities
[src]
Auto Trait Implementations
impl RefUnwindSafe for Capabilities
impl Send for Capabilities
impl Sync for Capabilities
impl Unpin for Capabilities
impl UnwindSafe for Capabilities
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,