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 = Self(0i32)
pub const Output: Self = Self(1i32)
pub const InputPullUp: Self = Self(2i32)
pub const InputPullDown: Self = Self(3i32)
pub const OutputOpenDrain: Self = Self(4i32)
pub const OutputOpenDrainPullUp: Self = Self(5i32)
pub const OutputOpenSource: Self = Self(6i32)
pub const OutputOpenSourcePullDown: Self = Self(7i32)
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more