#[repr(u8)]pub enum UpsideDownDigitBits {
Zero = 63,
One = 48,
Two = 91,
Three = 121,
Four = 116,
Five = 109,
Six = 111,
Seven = 56,
Eight = 127,
Nine = 125,
}
Expand description
Maps a upside-down digit to its closest possible representation on a 7-segment display.
Variants§
Zero = 63
Upside-down 0
One = 48
Upside-down 1
Two = 91
Upside-down 2
Three = 121
Upside-down 3
Four = 116
Upside-down 4
Five = 109
Upside-down 5
Six = 111
Upside-down 6
Seven = 56
Upside-down 7
Eight = 127
Upside-down 8
Nine = 125
Upside-down 9
Implementations§
Trait Implementations§
Source§impl Clone for UpsideDownDigitBits
impl Clone for UpsideDownDigitBits
Source§fn clone(&self) -> UpsideDownDigitBits
fn clone(&self) -> UpsideDownDigitBits
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 UpsideDownDigitBits
impl Debug for UpsideDownDigitBits
Source§impl Format for UpsideDownDigitBits
impl Format for UpsideDownDigitBits
impl Copy for UpsideDownDigitBits
Auto Trait Implementations§
impl Freeze for UpsideDownDigitBits
impl RefUnwindSafe for UpsideDownDigitBits
impl Send for UpsideDownDigitBits
impl Sync for UpsideDownDigitBits
impl Unpin for UpsideDownDigitBits
impl UnwindSafe for UpsideDownDigitBits
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