Type Definition rustix::ffi::ZStr

1.0.0 · source · []
pub type ZStr = 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 ZStr.

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

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

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

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

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