Struct GpioPinDriveMode
#[repr(transparent)]pub struct GpioPinDriveMode(pub i32);Tuple Fields§
§0: i32Implementations§
§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
§fn clone(&self) -> GpioPinDriveMode
fn clone(&self) -> GpioPinDriveMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for GpioPinDriveMode
impl Debug for GpioPinDriveMode
§impl Default for GpioPinDriveMode
impl Default for GpioPinDriveMode
§fn default() -> GpioPinDriveMode
fn default() -> GpioPinDriveMode
Returns the “default value” for a type. Read more
§impl PartialEq for GpioPinDriveMode
impl PartialEq for GpioPinDriveMode
impl Copy for GpioPinDriveMode
impl Eq for GpioPinDriveMode
impl StructuralPartialEq for GpioPinDriveMode
Auto Trait Implementations§
impl Freeze for GpioPinDriveMode
impl RefUnwindSafe for GpioPinDriveMode
impl Send for GpioPinDriveMode
impl Sync for GpioPinDriveMode
impl Unpin for GpioPinDriveMode
impl UnwindSafe for GpioPinDriveMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more