#[repr(u8)]pub enum SmbusReadWrite {
Read = 1,
Write = 0,
}
Expand description
i2c_smbus_xfer
read or write markers
Variants§
Trait Implementations§
Source§impl Clone for SmbusReadWrite
impl Clone for SmbusReadWrite
Source§fn clone(&self) -> SmbusReadWrite
fn clone(&self) -> SmbusReadWrite
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SmbusReadWrite
impl Debug for SmbusReadWrite
Source§impl Hash for SmbusReadWrite
impl Hash for SmbusReadWrite
Source§impl Ord for SmbusReadWrite
impl Ord for SmbusReadWrite
Source§fn cmp(&self, other: &SmbusReadWrite) -> Ordering
fn cmp(&self, other: &SmbusReadWrite) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SmbusReadWrite
impl PartialEq for SmbusReadWrite
Source§impl PartialOrd for SmbusReadWrite
impl PartialOrd for SmbusReadWrite
impl Copy for SmbusReadWrite
impl Eq for SmbusReadWrite
impl StructuralPartialEq for SmbusReadWrite
Auto Trait Implementations§
impl Freeze for SmbusReadWrite
impl RefUnwindSafe for SmbusReadWrite
impl Send for SmbusReadWrite
impl Sync for SmbusReadWrite
impl Unpin for SmbusReadWrite
impl UnwindSafe for SmbusReadWrite
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