Enum vaporetto::CharacterType
source · #[repr(u8)]
pub enum CharacterType {
Digit,
Roman,
Hiragana,
Katakana,
Kanji,
Other,
}
Expand description
Character type.
Variants§
Digit
Digit character. (e.g. 0, 1, 2, …)
Roman
Roman character. (e.g. A, B, C, …)
Hiragana
Japanese Hiragana character. (e.g. あ, い, う, …)
Katakana
Japanese Katakana character. (e.g. ア, イ, ウ, …)
Kanji
Kanji (a.k.a. Hanzi or Hanja) character. (e.g. 漢, 字, …)
Other
Other character.
Implementations§
Trait Implementations§
source§impl Clone for CharacterType
impl Clone for CharacterType
source§fn clone(&self) -> CharacterType
fn clone(&self) -> CharacterType
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 CharacterType
impl Debug for CharacterType
source§impl Hash for CharacterType
impl Hash for CharacterType
source§impl PartialEq<CharacterType> for CharacterType
impl PartialEq<CharacterType> for CharacterType
source§fn eq(&self, other: &CharacterType) -> bool
fn eq(&self, other: &CharacterType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.