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 Freeze for LinuxI2CBus
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