[−]Trait gokien::syntax::VowelKindExt
This trait implements a few method to check if object is an elemental vowel, a diphthong or a triphthong.
Required Methods
fn is_elemental(&self) -> bool
Check if vowel is elemental (or primary, basic). Also called monophthongs.
fn is_dipthong(&self) -> bool
Check if vowel is a diphthong.
fn is_triphthong(&self) -> bool
Check if vowel is a triphthong..
Implementors
impl VowelKindExt for Vowel
impl VowelKindExt for Vowel
fn is_elemental(&self) -> bool
fn is_elemental(&self) -> bool
Check if vowel is elemental (or primary, basic).
Examples
assert!(Vowel::Y.is_elemental()); assert!(!Vowel::Ai.is_elemental()); assert!(!Vowel::Oai.is_elemental());Run
fn is_dipthong(&self) -> bool
fn is_dipthong(&self) -> bool
Check if vowel is a diphthong.
Examples
assert!(!Vowel::Y.is_dipthong()); assert!(Vowel::Ai.is_dipthong()); assert!(!Vowel::Oai.is_dipthong());Run
fn is_triphthong(&self) -> bool
fn is_triphthong(&self) -> bool