Enum Smbus
#[repr(u8)]pub enum Smbus {
I2c = 0,
SmBus = 1,
}Variants§
Implementations§
Trait Implementations§
impl Copy for Smbus
impl Eq for Smbus
§impl Ord for Smbus
impl Ord for Smbus
1.21.0 (const: unstable) · 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
§impl PartialOrd for Smbus
impl PartialOrd for Smbus
impl StructuralPartialEq for Smbus
Auto Trait Implementations§
impl Freeze for Smbus
impl RefUnwindSafe for Smbus
impl Send for Smbus
impl Sync for Smbus
impl Unpin for Smbus
impl UnsafeUnpin for Smbus
impl UnwindSafe for Smbus
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