Crate hangeul

source ·

Re-exports§

Modules§

Functions§

  • Attempts to compose a Hangeul character (in the Hangeul Syllable unicode range, AC00D7A3). See Hangeul Syllables.
  • Attempts to decompose a string of Hangeul characters. See decompose_char.
  • Attempts to decompose a char. Errors if the first and second glyphs aren’t valid Korean jamo. See Compatibility Jamo.
  • Checks if a str’s last char ends in a consonant or not.
  • Wrapper around Choseong to get the first/lead character from a Hangeul syllable. See models::Choseong.
  • Wrapper around Jongseong to get the bottom/tail character from a Hangeul syllable. See models::Jongseong.
  • Wrapper around Jungseong to get the middle/vowel character from a Hangeul syllable. See models::Jungseong.
  • Check if the syllable has a tail, or jongseong (종성). use hangeul::has_jongseong; // has_jongseong
  • Checks if a char is a lead jamo, or choseong (중성).
  • Returns true from 0x3131 to 0x318E. See Compatibility Jamo.
  • Checks if a u32 is a (composable) Hangeul Syllable or Jamo. Archaic Korean is not supported at this time. See:
  • Checks if the u32 is a consonant, or jaeum (자음). Checks both Jamo and Compatibility Jamo unicode blocks.
  • Returns true from 0x1100 to 0x11FF. See Hangeul Jamo.
  • Checks if a char is a tail jamo, or jongseong (종성).
  • Checks if a char is a middle/vowel jamo, or jungseong (중성).
  • Checks if the u32 is a vowel, or moeum (모음). Checks both Jamo and Compatibility Jamo unicode blocks.
  • Check if the u32 is a finished/composed Hangeul syllable. Returns true for the 0xAC00 to 0xD7A3 range.
  • Casts a char to u32. Errors if said u32 falls outside of the Hangeul Syllable unicode range. See is_hangeul.