Module util

Source
Expand description

Helper utilities

Modules§

ffi 🔒
Ffi-related functionality for Utf8CStr

Macros§

define_from_for_arc 🔒
Define an impl From<fromty> for toty`` that wraps its input as toty::variant(Arc::new(e))``

Structs§

Utf8CString
A string that is guaranteed to be UTF-8 and NUL-terminated, for fast access as either type.

Enums§

Utf8CStringFromBytesError 🔒
An error from trying to convert a byte-slice to a Utf8CString.