Enum cea608_types::tables::Code
source · pub enum Code {
Show 99 variants
NUL,
Control(ControlCode),
Space,
ExclamationMark,
QuotationMark,
NumberSign,
DollarSign,
PercentSign,
Ampersand,
Apostrophe,
LeftParenthesis,
RightParenthesis,
LatinLowerAWithAcute,
PlusSign,
Comma,
HyphenMinus,
FullStop,
Solidus,
Zero,
One,
Two,
Three,
Four,
Five,
Six,
Seven,
Eight,
Nine,
Colon,
SemiColon,
LessThan,
Equals,
GreaterThan,
QuestionMark,
CommercialAt,
LatinCapitalA,
LatinCapitalB,
LatinCapitalC,
LatinCapitalD,
LatinCapitalE,
LatinCapitalF,
LatinCapitalG,
LatinCapitalH,
LatinCapitalI,
LatinCapitalJ,
LatinCapitalK,
LatinCapitalL,
LatinCapitalM,
LatinCapitalN,
LatinCapitalO,
LatinCapitalP,
LatinCapitalQ,
LatinCapitalR,
LatinCapitalS,
LatinCapitalT,
LatinCapitalU,
LatinCapitalV,
LatinCapitalW,
LatinCapitalX,
LatinCapitalY,
LatinCapitalZ,
LeftSquareBracket,
LatinLowerEWithAcute,
RightSquareBracket,
LatinLowerIWithAcute,
LatinLowerOWithAcute,
LatinLowerUWithAcute,
LatinLowerA,
LatinLowerB,
LatinLowerC,
LatinLowerD,
LatinLowerE,
LatinLowerF,
LatinLowerG,
LatinLowerH,
LatinLowerI,
LatinLowerJ,
LatinLowerK,
LatinLowerL,
LatinLowerM,
LatinLowerN,
LatinLowerO,
LatinLowerP,
LatinLowerQ,
LatinLowerR,
LatinLowerS,
LatinLowerT,
LatinLowerU,
LatinLowerV,
LatinLowerW,
LatinLowerX,
LatinLowerY,
LatinLowerZ,
LatinLowerCWithCedilla,
DivisionSign,
LatinCapitalNWithTilde,
LatinLowerNWithTilde,
SolidBlock,
Unknown(u8),
}Expand description
Enum of all possible characters or commands available
Variants§
NUL
Control(ControlCode)
Space
ExclamationMark
QuotationMark
NumberSign
DollarSign
PercentSign
Ampersand
Apostrophe
LeftParenthesis
RightParenthesis
LatinLowerAWithAcute
PlusSign
Comma
HyphenMinus
FullStop
Solidus
Zero
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Colon
SemiColon
LessThan
Equals
GreaterThan
QuestionMark
CommercialAt
LatinCapitalA
LatinCapitalB
LatinCapitalC
LatinCapitalD
LatinCapitalE
LatinCapitalF
LatinCapitalG
LatinCapitalH
LatinCapitalI
LatinCapitalJ
LatinCapitalK
LatinCapitalL
LatinCapitalM
LatinCapitalN
LatinCapitalO
LatinCapitalP
LatinCapitalQ
LatinCapitalR
LatinCapitalS
LatinCapitalT
LatinCapitalU
LatinCapitalV
LatinCapitalW
LatinCapitalX
LatinCapitalY
LatinCapitalZ
LeftSquareBracket
LatinLowerEWithAcute
RightSquareBracket
LatinLowerIWithAcute
LatinLowerOWithAcute
LatinLowerUWithAcute
LatinLowerA
LatinLowerB
LatinLowerC
LatinLowerD
LatinLowerE
LatinLowerF
LatinLowerG
LatinLowerH
LatinLowerI
LatinLowerJ
LatinLowerK
LatinLowerL
LatinLowerM
LatinLowerN
LatinLowerO
LatinLowerP
LatinLowerQ
LatinLowerR
LatinLowerS
LatinLowerT
LatinLowerU
LatinLowerV
LatinLowerW
LatinLowerX
LatinLowerY
LatinLowerZ
LatinLowerCWithCedilla
DivisionSign
LatinCapitalNWithTilde
LatinLowerNWithTilde
SolidBlock
Unknown(u8)
Implementations§
source§impl Code
impl Code
sourcepub fn write_into(&self, bytes: &mut [u8; 2]) -> usize
pub fn write_into(&self, bytes: &mut [u8; 2]) -> usize
sourcepub fn needs_backspace(&self) -> bool
pub fn needs_backspace(&self) -> bool
Whether or not this code requires there to have a backspace prepended for correct display
Trait Implementations§
source§impl Ord for Code
impl Ord for Code
source§impl PartialEq for Code
impl PartialEq for Code
source§impl PartialOrd for Code
impl PartialOrd for Code
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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