[−][src]Function ucd_util::hangul_full_canonical_decomposition
pub fn hangul_full_canonical_decomposition(
cp: u32
) -> Option<(u32, u32, Option<u32>)>
Return the full canonical decomposition of the given precomposed Hangul codepoint.
If the decomposition does not have any trailing consonant, then the third
part of the tuple returned is None
.
If the given codepoint does not correspond to a precomposed Hangul
codepoint in the inclusive range AC00..D7A3
, then this returns None
.
This implements the algorithms described in Unicode 3.12 and Unicode 4.8.