StringExt

Trait StringExt 

Source
pub trait StringExt {
    // Required methods
    fn to_string(self) -> String;
    fn to_string_utf16(self) -> String;
}
Expand description

对字符串的扩展操作。

Required Methods§

Source

fn to_string(self) -> String

转换到普通字符串。

Source

fn to_string_utf16(self) -> String

转换到utf16字符串。

Implementations on Foreign Types§

Source§

impl StringExt for &[u16]

Source§

impl StringExt for *const u8

Source§

impl StringExt for *const u16

Implementors§