#[non_exhaustive]pub enum WritingSystem {
Alphabetic,
Syllabic,
Logographic,
Logosyllabic,
Abjad,
Abugida,
Undeciphered,
Other(String),
}Expand description
Ancient writing system classification.
Important for understanding character-level processing requirements.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Alphabetic
Alphabetic (Greek, Latin, Phoenician)
Syllabic
Syllabic (Linear A/B, Cypro-Minoan, Cherokee)
Logographic
Logographic (Chinese, Egyptian hieroglyphs)
Logosyllabic
Logosyllabic (Cuneiform, Maya)
Abjad
Abjad - consonantal alphabet (Hebrew, Arabic, Phoenician)
Abugida
Abugida - consonant-vowel combinations (Brahmic scripts)
Undeciphered
Undeciphered (script system unknown)
Other(String)
Other with description
Implementations§
Source§impl WritingSystem
impl WritingSystem
Sourcepub fn is_deciphered(&self) -> bool
pub fn is_deciphered(&self) -> bool
Whether this system is fully deciphered.
Sourcepub fn has_word_boundaries(&self) -> bool
pub fn has_word_boundaries(&self) -> bool
Whether word boundaries are typically explicit.
Trait Implementations§
Source§impl Clone for WritingSystem
impl Clone for WritingSystem
Source§fn clone(&self) -> WritingSystem
fn clone(&self) -> WritingSystem
Returns a duplicate 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 WritingSystem
impl Debug for WritingSystem
Source§impl<'de> Deserialize<'de> for WritingSystem
impl<'de> Deserialize<'de> for WritingSystem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WritingSystem
impl Display for WritingSystem
Source§impl Hash for WritingSystem
impl Hash for WritingSystem
Source§impl PartialEq for WritingSystem
impl PartialEq for WritingSystem
Source§impl Serialize for WritingSystem
impl Serialize for WritingSystem
impl Eq for WritingSystem
impl StructuralPartialEq for WritingSystem
Auto Trait Implementations§
impl Freeze for WritingSystem
impl RefUnwindSafe for WritingSystem
impl Send for WritingSystem
impl Sync for WritingSystem
impl Unpin for WritingSystem
impl UnsafeUnpin for WritingSystem
impl UnwindSafe for WritingSystem
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