Struct windows_sys::Devices::Gpio::GpioPinDriveMode
[−]#[repr(transparent)]pub struct GpioPinDriveMode(pub i32);
Expand description
Required features: "Devices_Gpio"
Tuple Fields
0: i32
Implementations
impl GpioPinDriveMode
impl GpioPinDriveMode
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 GpioPinDriveMode
impl Clone for GpioPinDriveMode
impl Copy for GpioPinDriveMode
Auto Trait Implementations
impl RefUnwindSafe for GpioPinDriveMode
impl Send for GpioPinDriveMode
impl Sync for GpioPinDriveMode
impl Unpin for GpioPinDriveMode
impl UnwindSafe for GpioPinDriveMode
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