#[repr(C)]pub struct Str(Slice<u8>);Expand description
UTF-8 text that lives for the rest of the program, laid out as a Slice<u8>.
Tuple Fields§
§0: Slice<u8>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for Str
impl Freeze for Str
impl RefUnwindSafe for Str
impl Sync for Str
impl Unpin for Str
impl UnsafeUnpin for Str
impl UnwindSafe for Str
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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