Trait core::char::CharExt [] [src]

pub trait CharExt {
    fn is_digit(self, radix: u32) -> bool;
    fn to_digit(self, radix: u32) -> Option<u32>;
    fn escape_unicode(self) -> EscapeUnicode;
    fn escape_default(self) -> EscapeDefault;
    fn len_utf8(self) -> usize;
    fn len_utf16(self) -> usize;
    fn encode_utf8(self, dst: &mut [u8]) -> Option<usize>;
    fn encode_utf16(self, dst: &mut [u16]) -> Option<usize>;
}
Unstable (core_char_ext #27701)

: the stable interface is impl char in later crate

Required Methods

fn is_digit(self, radix: u32) -> bool

fn to_digit(self, radix: u32) -> Option<u32>

fn escape_unicode(self) -> EscapeUnicode

fn escape_default(self) -> EscapeDefault

fn len_utf8(self) -> usize

fn len_utf16(self) -> usize

fn encode_utf8(self, dst: &mut [u8]) -> Option<usize>

fn encode_utf16(self, dst: &mut [u16]) -> Option<usize>

Implementors