Trait e_utils::parse::AutoParse

source ·
pub trait AutoParse {
    // Required methods
    fn to_cstring(&self) -> Result<CString>;
    fn to_c_char(&self) -> *const c_char;
}
Expand description

针对C/C++

Required Methods§

source

fn to_cstring(&self) -> Result<CString>

转CsString

source

fn to_c_char(&self) -> *const c_char

转 *const c_char

Implementations on Foreign Types§

source§

impl AutoParse for Path

Implementors§