pub type RustString = PdStr;Expand description
Wrapper around Rust’s &str, without allocating memory, unlike std::ffi::CString.
The caller must use it as a Rust string. This is not a C-string.
Aliased Type§
#[repr(C)]pub struct RustString {
pub len: usize,
pub data: *mut c_void,
}Fields§
§len: usize§data: *mut c_void