#[repr(transparent)]pub struct StrPtr(_);
Expand description
Zero terminated ascii string. Have the same layout as *const u8
.
Used for convenience so it can be returned from extern funcs.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StrPtr
impl !Send for StrPtr
impl !Sync for StrPtr
impl Unpin for StrPtr
impl UnwindSafe for StrPtr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more