#[repr(C)]pub struct NSTDStr { /* private fields */ }Available on crate feature
nstd_core only.Expand description
An immutable 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, and unmodified while an instance of this structure is in use.
Trait Implementations
impl Copy for NSTDStr
Auto Trait Implementations
impl RefUnwindSafe for NSTDStr
impl !Send for NSTDStr
impl !Sync for NSTDStr
impl Unpin for NSTDStr
impl UnwindSafe for NSTDStr
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