Struct windows_sys::Devices::I2c::I2cBusSpeed
[−]#[repr(transparent)]pub struct I2cBusSpeed(pub i32);
Expand description
Required features: ‘Devices_I2c’
Tuple Fields
0: i32
Implementations
impl I2cBusSpeed
impl I2cBusSpeed
pub const StandardMode: Self
pub const FastMode: Self
Trait Implementations
impl Clone for I2cBusSpeed
impl Clone for I2cBusSpeed
impl Copy for I2cBusSpeed
Auto Trait Implementations
impl RefUnwindSafe for I2cBusSpeed
impl Send for I2cBusSpeed
impl Sync for I2cBusSpeed
impl Unpin for I2cBusSpeed
impl UnwindSafe for I2cBusSpeed
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more