pub struct Str<'s> {
pub raw: &'s str,
pub escaped: bool,
}Fields§
§raw: &'s str§escaped: boolTrait Implementations§
impl<'s> StructuralPartialEq for Str<'s>
Auto Trait Implementations§
impl<'s> Freeze for Str<'s>
impl<'s> RefUnwindSafe for Str<'s>
impl<'s> Send for Str<'s>
impl<'s> Sync for Str<'s>
impl<'s> Unpin for Str<'s>
impl<'s> UnsafeUnpin for Str<'s>
impl<'s> UnwindSafe for Str<'s>
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