#[repr(u8)]pub enum SpecialCharBits {
Space = 0,
Minus = 64,
Underscore = 8,
Equals = 72,
QuestionMark = 83,
}
Expand description
Maps a character to its closest possible representation on a 7-segment display.
Variants§
Space = 0
Space symbol
Minus = 64
Minus or dash symbol
Underscore = 8
Underscore (_)
Equals = 72
Equal sign (=)
QuestionMark = 83
Question mark (?)
Implementations§
Trait Implementations§
Source§impl Clone for SpecialCharBits
impl Clone for SpecialCharBits
Source§fn clone(&self) -> SpecialCharBits
fn clone(&self) -> SpecialCharBits
Returns a copy 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 SpecialCharBits
impl Debug for SpecialCharBits
Source§impl Format for SpecialCharBits
impl Format for SpecialCharBits
impl Copy for SpecialCharBits
Auto Trait Implementations§
impl Freeze for SpecialCharBits
impl RefUnwindSafe for SpecialCharBits
impl Send for SpecialCharBits
impl Sync for SpecialCharBits
impl Unpin for SpecialCharBits
impl UnwindSafe for SpecialCharBits
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