Struct LedRegistryEntry
#[repr(C)]pub struct LedRegistryEntry {
pub node: usize,
pub port: usize,
pub line: u8,
pub active_low: u8,
pub label: &'static str,
pub default_state: LedDefaultState,
pub output_mode: LedOutputMode,
pub pull: LedPull,
}Fields§
§node: usize§port: usize§line: u8§active_low: u8§label: &'static str§default_state: LedDefaultState§output_mode: LedOutputMode§pull: LedPullTrait Implementations§
§impl Clone for LedRegistryEntry
impl Clone for LedRegistryEntry
§fn clone(&self) -> LedRegistryEntry
fn clone(&self) -> LedRegistryEntry
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 LedRegistryEntry
impl Debug for LedRegistryEntry
impl Copy for LedRegistryEntry
Auto Trait Implementations§
impl Freeze for LedRegistryEntry
impl RefUnwindSafe for LedRegistryEntry
impl Send for LedRegistryEntry
impl Sync for LedRegistryEntry
impl Unpin for LedRegistryEntry
impl UnsafeUnpin for LedRegistryEntry
impl UnwindSafe for LedRegistryEntry
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