Struct i2cdev::linux::LinuxI2CBus
source · pub struct LinuxI2CBus { /* private fields */ }
Expand description
Linux I2C bus
Implementations§
source§impl LinuxI2CBus
impl LinuxI2CBus
sourcepub fn new<P: AsRef<Path>>(path: P) -> Result<LinuxI2CBus, LinuxI2CError>
pub fn new<P: AsRef<Path>>(path: P) -> Result<LinuxI2CBus, LinuxI2CError>
Create a new LinuxI2CBus for the specified path
Trait Implementations§
source§impl AsRawFd for LinuxI2CBus
impl AsRawFd for LinuxI2CBus
source§impl<'a> I2CTransfer<'a> for LinuxI2CBus
impl<'a> I2CTransfer<'a> for LinuxI2CBus
Auto Trait Implementations§
impl RefUnwindSafe for LinuxI2CBus
impl Send for LinuxI2CBus
impl Sync for LinuxI2CBus
impl Unpin for LinuxI2CBus
impl UnwindSafe for LinuxI2CBus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more