pub struct LedStripRmtConfig {
pub frequency: u32,
pub t0h_ns: u16,
pub t0l_ns: u16,
pub t1h_ns: u16,
pub t1l_ns: u16,
pub reset_us: u16,
pub pin_data: i8,
}Fields§
§frequency: u32§t0h_ns: u16§t0l_ns: u16§t1h_ns: u16§t1l_ns: u16§reset_us: u16§pin_data: i8Implementations§
Trait Implementations§
Source§impl Clone for LedStripRmtConfig
impl Clone for LedStripRmtConfig
Source§fn clone(&self) -> LedStripRmtConfig
fn clone(&self) -> LedStripRmtConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LedStripRmtConfig
impl Debug for LedStripRmtConfig
Source§impl Default for LedStripRmtConfig
impl Default for LedStripRmtConfig
Source§impl PartialEq for LedStripRmtConfig
impl PartialEq for LedStripRmtConfig
Source§fn eq(&self, other: &LedStripRmtConfig) -> bool
fn eq(&self, other: &LedStripRmtConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LedStripRmtConfig
impl Eq for LedStripRmtConfig
impl StructuralPartialEq for LedStripRmtConfig
Auto Trait Implementations§
impl Freeze for LedStripRmtConfig
impl RefUnwindSafe for LedStripRmtConfig
impl Send for LedStripRmtConfig
impl Sync for LedStripRmtConfig
impl Unpin for LedStripRmtConfig
impl UnsafeUnpin for LedStripRmtConfig
impl UnwindSafe for LedStripRmtConfig
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