pub(crate) trait AsCCharPtr {
// Required method
fn as_c_char_ptr(&self) -> *const c_char;
}
Expand description
Extension trait for explicit casts to *const c_char
.
Required Methods§
Sourcefn as_c_char_ptr(&self) -> *const c_char
fn as_c_char_ptr(&self) -> *const c_char
Equivalent to self.as_ptr().cast()
, but only casts to *const c_char
.