#[repr(u8)]pub enum SpecialCharBits {
Space = 0,
Minus = 64,
Underscore = 8,
Equals = 72,
QuestionMark = 83,
}
Available on crate feature
mappings
only.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.6.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
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
)