#[repr(u8)]pub enum DigitBits {
Zero = 63,
One = 6,
Two = 91,
Three = 79,
Four = 102,
Five = 109,
Six = 125,
Seven = 7,
Eight = 127,
Nine = 111,
}
Expand description
Maps a digit to its closest possible representation on a 7-segment display.
Variants§
Zero = 63
0
One = 6
1
Two = 91
2
Three = 79
3
Four = 102
4
Five = 109
5
Six = 125
6
Seven = 7
7
Eight = 127
8
Nine = 111
9
Implementations§
Trait Implementations§
impl Copy for DigitBits
Auto Trait Implementations§
impl Freeze for DigitBits
impl RefUnwindSafe for DigitBits
impl Send for DigitBits
impl Sync for DigitBits
impl Unpin for DigitBits
impl UnwindSafe for DigitBits
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