#[repr(u8)]pub enum SpecialChar {
Show 22 variants
Tab = 9,
Newline = 10,
CarriageReturn = 13,
Space = 32,
ExclamationMark = 33,
DoubleQuote = 34,
Hash = 35,
SingleQuote = 39,
OpenParen = 40,
CloseParen = 41,
Asterisk = 42,
Plus = 43,
Dash = 45,
Dot = 46,
Zero = 48,
GreaterThan = 62,
OpenBracket = 91,
Backslash = 92,
CloseBracket = 93,
Underscore = 95,
Tilde = 126,
Backtick = 96,
}Variants§
Tab = 9
Newline = 10
CarriageReturn = 13
Space = 32
ExclamationMark = 33
DoubleQuote = 34
Hash = 35
SingleQuote = 39
OpenParen = 40
CloseParen = 41
Asterisk = 42
Plus = 43
Dash = 45
Dot = 46
Zero = 48
GreaterThan = 62
OpenBracket = 91
Backslash = 92
CloseBracket = 93
Underscore = 95
Tilde = 126
Backtick = 96
Implementations§
Trait Implementations§
Source§impl Clone for SpecialChar
impl Clone for SpecialChar
Source§fn clone(&self) -> SpecialChar
fn clone(&self) -> SpecialChar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpecialChar
Source§impl Debug for SpecialChar
impl Debug for SpecialChar
Source§impl Display for SpecialChar
impl Display for SpecialChar
impl Eq for SpecialChar
Source§impl PartialEq for SpecialChar
impl PartialEq for SpecialChar
Source§fn eq(&self, other: &SpecialChar) -> bool
fn eq(&self, other: &SpecialChar) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq<SpecialChar> for u8
impl PartialEq<SpecialChar> for u8
Source§fn eq(&self, other: &SpecialChar) -> bool
fn eq(&self, other: &SpecialChar) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq<SpecialChar> for Option<&u8>
impl PartialEq<SpecialChar> for Option<&u8>
Source§fn eq(&self, other: &SpecialChar) -> bool
fn eq(&self, other: &SpecialChar) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq<SpecialChar> for Option<u8>
impl PartialEq<SpecialChar> for Option<u8>
Source§fn eq(&self, other: &SpecialChar) -> bool
fn eq(&self, other: &SpecialChar) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq<u8> for SpecialChar
impl PartialEq<u8> for SpecialChar
impl StructuralPartialEq for SpecialChar
Auto Trait Implementations§
impl Freeze for SpecialChar
impl RefUnwindSafe for SpecialChar
impl Send for SpecialChar
impl Sync for SpecialChar
impl Unpin for SpecialChar
impl UnsafeUnpin for SpecialChar
impl UnwindSafe for SpecialChar
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