Trait win_wrap::ext::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§