#[repr(C)]pub struct InputPin {
pub gpio: *const GpioPin,
pub key: InputKey,
pub inverted: bool,
pub name: *const c_char,
}
Fields§
§gpio: *const GpioPin
§key: InputKey
§inverted: bool
§name: *const c_char
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputPin
impl RefUnwindSafe for InputPin
impl !Send for InputPin
impl !Sync for InputPin
impl Unpin for InputPin
impl UnwindSafe for InputPin
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