#[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,
}
Available on crate feature
mappings
only.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)