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
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 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