pub struct String<'a>(/* private fields */);Expand description
A string.
Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for String<'a>
Auto Trait Implementations§
impl<'a> Freeze for String<'a>
impl<'a> !RefUnwindSafe for String<'a>
impl<'a> Send for String<'a>
impl<'a> Sync for String<'a>
impl<'a> Unpin for String<'a>
impl<'a> !UnwindSafe for String<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> FromBytes<'a> for Twhere
T: Readable<'a>,
impl<'a, T> FromBytes<'a> for Twhere
T: Readable<'a>,
Source§fn from_bytes(b: &'a [u8]) -> Option<T>
fn from_bytes(b: &'a [u8]) -> Option<T>
Try to read the object from the given bytes.