Type Definition rustix::ffi::CStr

1.0.0 · source · []
pub type CStr = CStr;
Expand description

Trait Implementations

Returns a view of this string as a string slice.

Returns a potentially-lossy rendering of this string as a Cow<'_, str>. Read more

Returns a view of this string as a maybe-owned CStr.

Consumes self and returns a view of this string as a maybe-owned CStr. Read more

Runs a closure with self passed in as a &CStr.