Struct windows_sys::Devices::Gpio::Provider::ProviderGpioPinDriveMode
[−]#[repr(transparent)]pub struct ProviderGpioPinDriveMode(pub i32);
Expand description
Required features: ‘Devices_Gpio_Provider’
Tuple Fields
0: i32
Implementations
impl ProviderGpioPinDriveMode
impl ProviderGpioPinDriveMode
pub const Input: Self
pub const Output: Self
pub const InputPullUp: Self
pub const InputPullDown: Self
pub const OutputOpenDrain: Self
pub const OutputOpenDrainPullUp: Self
pub const OutputOpenSource: Self
pub const OutputOpenSourcePullDown: Self
Trait Implementations
impl Clone for ProviderGpioPinDriveMode
impl Clone for ProviderGpioPinDriveMode
impl Copy for ProviderGpioPinDriveMode
Auto Trait Implementations
impl RefUnwindSafe for ProviderGpioPinDriveMode
impl Send for ProviderGpioPinDriveMode
impl Sync for ProviderGpioPinDriveMode
impl Unpin for ProviderGpioPinDriveMode
impl UnwindSafe for ProviderGpioPinDriveMode
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