[−][src]Crate unicode_case_mapping
Look up the joining type for a character.
Example
// U+0307 is COMBINING DOT ABOVE assert_eq!(unicode_case_mapping::to_lowercase('İ'), ['i' as u32, 0x0307]); assert_eq!(unicode_case_mapping::to_lowercase('ß'), [0; 2]); assert_eq!(unicode_case_mapping::to_uppercase('ß'), ['S' as u32, 'S' as u32, 0]); assert_eq!(unicode_case_mapping::to_titlecase('ß'), ['S' as u32, 's' as u32, 0]); assert_eq!(unicode_case_mapping::to_titlecase('-'), [0; 3]);
Constants
UNICODE_VERSION | The version of Unicode that this version of unicode-case-mapping was generated from. |
Functions
to_lowercase | Map the supplied character to its lowercase equivalent. |
to_titlecase | Map the supplied character to its titlecase equivalent. |
to_uppercase | Map the supplied character to its uppercase equivalent. |