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