Trait uapi::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§