pub struct Str<O: Source = Shared> { /* private fields */ }Expand description
An immutable owner whose complete logical range is valid UTF-8.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<O> Freeze for Str<O>
impl<O> RefUnwindSafe for Str<O>where
Utf8<O>: RefUnwindSafe,
impl<O> Send for Str<O>
impl<O> Sync for Str<O>
impl<O> Unpin for Str<O>
impl<O> UnsafeUnpin for Str<O>where
Utf8<O>: UnsafeUnpin,
impl<O> UnwindSafe for Str<O>where
Utf8<O>: UnwindSafe,
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