Getting a Rust string slice ( &str ) requires a few steps: We have to ensure that the C pointer is not NULL as Rust references are not allowed to be NULL .
確定! 回上一頁