pub enum SoundexAlgorithm {
Lk82,
Udom83,
MetaSound,
}Expand description
Selects the Thai phonetic encoding algorithm.
Variants§
Lk82
Lorchirachoonkul 1982 — most widely used; 4-char alphanumeric code.
Udom83
Udompanich 1983 — finer distinctions for sibilants and liquids.
MetaSound
MetaSound (Snae & Brückner 2009) — per-syllable [initial][vowel][final] triple;
variable-length output (3 chars per syllable).
Trait Implementations§
Source§impl Clone for SoundexAlgorithm
impl Clone for SoundexAlgorithm
Source§fn clone(&self) -> SoundexAlgorithm
fn clone(&self) -> SoundexAlgorithm
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 SoundexAlgorithm
impl Debug for SoundexAlgorithm
Source§impl PartialEq for SoundexAlgorithm
impl PartialEq for SoundexAlgorithm
impl Copy for SoundexAlgorithm
impl Eq for SoundexAlgorithm
impl StructuralPartialEq for SoundexAlgorithm
Auto Trait Implementations§
impl Freeze for SoundexAlgorithm
impl RefUnwindSafe for SoundexAlgorithm
impl Send for SoundexAlgorithm
impl Sync for SoundexAlgorithm
impl Unpin for SoundexAlgorithm
impl UnsafeUnpin for SoundexAlgorithm
impl UnwindSafe for SoundexAlgorithm
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