#[repr(C)]pub struct Str { /* private fields */ }
Expand description
An immutable, ABI-stable borrowed &'static str
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Str
impl RefUnwindSafe for Str
impl !Send for Str
impl !Sync for Str
impl Unpin for Str
impl UnwindSafe for Str
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more