pub struct Glyph {
pub name: String,
pub pattern: String,
pub builtin: bool,
}Expand description
A named Nuimo LED glyph. pattern is a 9x9 ASCII grid compatible with
nuimo::Glyph::from_str (* = LED on, anything else = off, rows
separated by \n).
Fields§
§name: String§pattern: String§builtin: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Glyph
impl<'de> Deserialize<'de> for Glyph
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 Glyph
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnsafeUnpin for Glyph
impl UnwindSafe for Glyph
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