Expand description
A module for working with Hangul syllable blocks.
Structs§
- Block
Composer - A composer for a single Hangul syllable block. Used to build a block by pushing and popping Jamo letters.
- Hangul
Block - A struct representing a composed Hangul syllable block, consisting of an initial Jamo, a vowel Jamo, and an optional final Jamo.
- Hangul
Block Decomposition Options - Options for decomposing a
HangulBlockinto its constituent Jamo characters.
Enums§
- Block
Completion Status - The status of attempting to complete a Hangul syllable block.
- Block
Error - Errors that can occur when working with Hangul syllable blocks.
- Block
PopStatus - The status of popping a Jamo letter from a Hangul syllable block composer.
- Block
Push Result - Result of pushing a Jamo letter into a Hangul syllable block composer.
Functions§
- hangul_
blocks_ vec_ to_ string - Converts a vector of
HangulBlockstructs into a composed Hangul string. Returns anErrif any block cannot be converted into a valid Hangul syllable.
Type Aliases§
- Decomposed
Tuple - A tuple representing the decomposed Jamo characters of a
HangulBlock. The tuple contains sixOption<Jamo>values representing: