Struct nstd_sys::core::cstr::NSTDCStrMut
source · #[repr(C)]pub struct NSTDCStrMut { /* private fields */ }Available on crate feature
nstd_core only.Expand description
A mutable slice of a C string.
Safety
The user of this structure must ensure that the pointed-to data remains valid, unmodified, and unreferenced in any other code while an instance of this structure is in use, else data races may occur.
Trait Implementations
sourceimpl Clone for NSTDCStrMut
impl Clone for NSTDCStrMut
sourcefn clone(&self) -> NSTDCStrMut
fn clone(&self) -> NSTDCStrMut
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for NSTDCStrMut
impl Debug for NSTDCStrMut
sourceimpl Hash for NSTDCStrMut
impl Hash for NSTDCStrMut
impl Copy for NSTDCStrMut
Auto Trait Implementations
impl RefUnwindSafe for NSTDCStrMut
impl !Send for NSTDCStrMut
impl !Sync for NSTDCStrMut
impl Unpin for NSTDCStrMut
impl UnwindSafe for NSTDCStrMut
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