Struct KeyRegistryEntry
#[repr(C)]pub struct KeyRegistryEntry {
pub node: usize,
pub port: usize,
pub line: u8,
pub active_low: u8,
pub label: &'static str,
pub code: u32,
pub debounce_ms: u32,
pub wakeup_source: u8,
pub polling_mode: u8,
pub irq_priority: u8,
}Fields§
§node: usize§port: usize§line: u8§active_low: u8§label: &'static str§code: u32§debounce_ms: u32§wakeup_source: u8§polling_mode: u8§irq_priority: u8Trait Implementations§
§impl Clone for KeyRegistryEntry
impl Clone for KeyRegistryEntry
§fn clone(&self) -> KeyRegistryEntry
fn clone(&self) -> KeyRegistryEntry
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 KeyRegistryEntry
impl Debug for KeyRegistryEntry
impl Copy for KeyRegistryEntry
Auto Trait Implementations§
impl Freeze for KeyRegistryEntry
impl RefUnwindSafe for KeyRegistryEntry
impl Send for KeyRegistryEntry
impl Sync for KeyRegistryEntry
impl Unpin for KeyRegistryEntry
impl UnsafeUnpin for KeyRegistryEntry
impl UnwindSafe for KeyRegistryEntry
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