pub struct String<'encoding, B: BytesLike<'encoding>> { /* private fields */ }Expand description
A collection of bytes with an associated length.
This avoids defining BytesLike::len which lets us relax the requirement BytesLike knows its
length before it has reached its end.
Implementations§
Auto Trait Implementations§
impl<'encoding, B> Freeze for String<'encoding, B>
impl<'encoding, B> RefUnwindSafe for String<'encoding, B>
impl<'encoding, B> Send for String<'encoding, B>
impl<'encoding, B> Sync for String<'encoding, B>
impl<'encoding, B> Unpin for String<'encoding, B>
impl<'encoding, B> UnsafeUnpin for String<'encoding, B>
impl<'encoding, B> UnwindSafe for String<'encoding, B>
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