Skip to main content

u32string

Type Alias u32string 

Source
pub type u32string = basic_string<Pod<i32>>;
Expand description

对应std::u32string

Aliased Type§

pub struct u32string { /* private fields */ }

Implementations§

Source§

impl u32string

Source

pub fn with_buf(b: &[u32]) -> Self

Source

pub fn as_buf(&self) -> &[u32]

Source§

impl u32string

Source

pub fn new() -> <u32string as AbiType>::OutputType

cpp global function: std::unique_ptr<std::u32string> hicc::make_unique<std::u32string>()

Source§

impl u32string

Source

pub unsafe fn with_cbuf( s: *const u32, len: usize, ) -> <u32string as AbiType>::OutputType

cpp global function: std::unique_ptr<std::u32string> hicc::make_unique<std::u32string, const char32_t*, size_t>(const char32_t* &&, size_t&&)

Trait Implementations§

Source§

impl Default for u32string

Source§

fn default() -> Self

Returns the “default value” for a type. Read more