/// Return the character name of the given precomposed Hangul codepoint.
///
/// 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.
Return the character name of the given precomposed Hangul codepoint.
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.
Return the character name of the given precomposed Hangul codepoint . 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 .
pub fn hangul_name(cp: u32) -> Option<String> {
    let mut name = "HANGUL SYLLABLE ".to_string();
    let (lpart, vpart, tpart) = match hangul_full_canonical_decomposition(cp) {
        None => return None,
        Some(triple) => triple,
    };
    name.push_str(jamo_short_name(lpart));
    name.push_str(jamo_short_name(vpart));
    name.push_str(tpart.map_or("", jamo_short_name));
    Some(name)
}
pub fn hangul_name ( cp : u32 ) -> Option < String > { let mut name = " " . to_string ( ) ; let ( lpart , vpart , tpart ) = match hangul_full_canonical_decomposition ( cp ) { None => return None , Some ( triple ) => triple , } ; name . push_str ( jamo_short_name ( lpart ) ) ; name . push_str ( jamo_short_name ( vpart ) ) ; name . push_str ( tpart . map_or ( " " , jamo_short_name ) ) ; Some ( name ) }
Return the character name of the given precomposed Hangul codepoint.
Return the character name of the given precomposed Hangul codepoint .
cp
u32