We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pub use
type
1 parent cce3858 commit d48de2eCopy full SHA for d48de2e
src/ffi.rs
@@ -19,6 +19,7 @@ use std::ptr;
19
20
pub type I2CError = nix::Error;
21
22
+/// Linux I2C message
23
#[repr(C)]
24
pub struct i2c_msg<'a> {
25
/// slave address
src/linux.rs
@@ -316,8 +316,7 @@ impl LinuxI2CBus {
316
}
317
318
319
-/// Linux I2C message
320
-pub type LinuxI2CMessage<'a> = ffi::i2c_msg<'a>;
+pub use ffi::i2c_msg as LinuxI2CMessage;
321
322
impl<'a> I2CTransfer<'a> for LinuxI2CBus {
323
type Error = LinuxI2CError;
0 commit comments