#[repr(transparent)]
pub struct AsciiPointer<'a> { /* fields omitted */ }
Expand description
Represents a *const char
on FFI level pointing to an 0x0
terminated ASCII string.
Create a pointer from a CStr.
Create a CStr
for the pointer.
Attempts to return a Rust str
.
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.