#[inline]
pub fn is_lower(c: char) -> bool {
unsafe { utf8proc_sys::utf8proc_islower(c as i32) != 0 }
}
#[inline]
pub fn is_upper(c: char) -> bool {
unsafe { utf8proc_sys::utf8proc_isupper(c as i32) != 0 }
}
#[inline]
pub fn to_lower(c: char) -> char {
let res = unsafe { utf8proc_sys::utf8proc_tolower(c as i32).cast_unsigned() };
unsafe { char::from_u32_unchecked(res) }
}
#[inline]
pub fn to_upper(c: char) -> char {
let res = unsafe { utf8proc_sys::utf8proc_toupper(c as i32).cast_unsigned() };
unsafe { char::from_u32_unchecked(res) }
}
#[inline]
pub fn to_title(c: char) -> char {
let res = unsafe { utf8proc_sys::utf8proc_totitle(c as i32).cast_unsigned() };
unsafe { char::from_u32_unchecked(res) }
}