Thanks to visit codestin.com
Credit goes to docs.rs

Trait AsUstr

Source
pub trait AsUstr {
    // Required method
    fn as_ustr(&self) -> &Ustr;
}
Expand description

Used for cheap conversion from into &Ustr

Required Methods§

Source

fn as_ustr(&self) -> &Ustr

Perform the conversion

Implementations on Foreign Types§

Source§

impl AsUstr for CString

Source§

fn as_ustr(&self) -> &Ustr

Source§

impl AsUstr for CStr

Source§

fn as_ustr(&self) -> &Ustr

Implementors§