pub struct RawStr<'buf> { /* private fields */ }Expand description
A &str with surrounding quotes removed and it hasn’t been analyzed for escapes codes.
Implementations§
Trait Implementations§
Source§impl<'buf> Ord for RawStr<'buf>
impl<'buf> Ord for RawStr<'buf>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'buf> PartialOrd for RawStr<'buf>
impl<'buf> PartialOrd for RawStr<'buf>
impl<'buf> Copy for RawStr<'buf>
impl<'buf> Eq for RawStr<'buf>
impl<'buf> StructuralPartialEq for RawStr<'buf>
Auto Trait Implementations§
impl<'buf> Freeze for RawStr<'buf>
impl<'buf> RefUnwindSafe for RawStr<'buf>
impl<'buf> Send for RawStr<'buf>
impl<'buf> Sync for RawStr<'buf>
impl<'buf> Unpin for RawStr<'buf>
impl<'buf> UnwindSafe for RawStr<'buf>
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