pub struct WideChar { /* private fields */ }
Expand description
Wide character (UTF-8 character).
Implementations
sourceimpl WideChar
impl WideChar
pub fn new(ch: char) -> Self
pub fn is_digit(self, radix: u32) -> bool
pub fn to_digit(self, radix: u32) -> Option<u32>
pub fn escape_unicode(self) -> EscapeUnicode
pub fn escape_debug(self) -> EscapeDebug
pub fn escape_default(self) -> EscapeDefault
pub fn len_utf8(self) -> usize
pub fn len_utf16(self) -> usize
pub fn encode_utf8(self, dst: &mut [u8]) -> &mut str
pub fn encode_utf16(self, dst: &mut [u16]) -> &mut [u16]
pub fn is_alphabetic(self) -> bool
pub fn is_lowercase(self) -> bool
pub fn is_uppercase(self) -> bool
pub fn is_whitespace(self) -> bool
pub fn is_alphanumeric(self) -> bool
pub fn is_control(self) -> bool
pub fn is_numeric(self) -> bool
pub fn to_lowercase(self) -> ToLowercase
pub fn to_uppercase(self) -> ToUppercase
pub fn is_ascii(self) -> bool
pub fn to_ascii_uppercase(self) -> char
pub fn to_ascii_lowercase(self) -> char
pub fn eq_ignore_ascii_case(self, other: char) -> bool
pub fn make_ascii_uppercase(&mut self)
pub fn make_ascii_lowercase(&mut self)
pub fn is_ascii_alphabetic(self) -> bool
pub fn is_ascii_uppercase(self) -> bool
pub fn is_ascii_lowercase(self) -> bool
pub fn is_ascii_alphanumeric(self) -> bool
pub fn is_ascii_digit(self) -> bool
pub fn is_ascii_hexdigit(self) -> bool
pub fn is_ascii_punctuation(self) -> bool
pub fn is_ascii_graphic(self) -> bool
pub fn is_ascii_whitespace(self) -> bool
pub fn is_ascii_control(self) -> bool
pub fn is_weof(self) -> bool
pub fn as_char(self) -> Result<char, NCurseswError>
Trait Implementations
impl Copy for WideChar
impl Eq for WideChar
impl GetCharacterType for WideChar
impl StructuralEq for WideChar
impl StructuralPartialEq for WideChar
Auto Trait Implementations
impl RefUnwindSafe for WideChar
impl Send for WideChar
impl Sync for WideChar
impl Unpin for WideChar
impl UnwindSafe for WideChar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more