Struct nstd_sys::core::str::NSTDStrMut
source · #[repr(C)]pub struct NSTDStrMut { /* private fields */ }Available on crate feature
nstd_core only.Expand description
An unowned view into a UTF-8 encoded byte string.
Safety
The user of this structure must ensure that the pointed-to data remains valid UTF-8, 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 NSTDStrMut
impl Clone for NSTDStrMut
sourcefn clone(&self) -> NSTDStrMut
fn clone(&self) -> NSTDStrMut
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 NSTDStrMut
impl Debug for NSTDStrMut
sourceimpl Hash for NSTDStrMut
impl Hash for NSTDStrMut
impl Copy for NSTDStrMut
Auto Trait Implementations
impl RefUnwindSafe for NSTDStrMut
impl !Send for NSTDStrMut
impl !Sync for NSTDStrMut
impl Unpin for NSTDStrMut
impl UnwindSafe for NSTDStrMut
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