pub struct LedMatrixConfig {
pub name: String,
pub description: Option<String>,
pub matrix_id: u8,
pub enabled: bool,
pub characters: u8,
}Expand description
7-Segment Display Configuration for LED Matrix
Fields§
§name: String§description: Option<String>§matrix_id: u8§enabled: bool§characters: u8Trait Implementations§
Source§impl Clone for LedMatrixConfig
impl Clone for LedMatrixConfig
Source§fn clone(&self) -> LedMatrixConfig
fn clone(&self) -> LedMatrixConfig
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 moreSource§impl Debug for LedMatrixConfig
impl Debug for LedMatrixConfig
Source§impl<'de> Deserialize<'de> for LedMatrixConfig
impl<'de> Deserialize<'de> for LedMatrixConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LedMatrixConfig
impl RefUnwindSafe for LedMatrixConfig
impl Send for LedMatrixConfig
impl Sync for LedMatrixConfig
impl Unpin for LedMatrixConfig
impl UnwindSafe for LedMatrixConfig
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