CStrArray

Struct CStrArray 

Source
pub struct CStrArray { /* private fields */ }

Implementations§

Source§

impl CStrArray

Source

pub unsafe fn from_ptr<'a>(ptr: *const *const c_char) -> &'a CStrArray

Turns a pointer to a NULL-terminated array of NUL-terminated strings into a CStrArray.

§Safety

The pointer must point to a NULL-terminated array of NUL-terminated strings.

Source

pub const fn as_ptr(&self) -> *const *const c_char

Auto Trait Implementations§