Struct nyoom_json::UnescapedStr
source · #[repr(transparent)]pub struct UnescapedStr<'a>(_);Expand description
A string that will not have escapes applied to it. You should only use this if you’re absolutely sure you don’t need them.
Implementations§
source§impl<'a> UnescapedStr<'a>
impl<'a> UnescapedStr<'a>
pub fn create(val: &'a str) -> UnescapedStr<'a>
Trait Implementations§
source§impl Key for UnescapedStr<'_>
impl Key for UnescapedStr<'_>
fn write<S: JsonBuffer>(self, out: &mut S)
source§impl<'a, S: JsonBuffer> WriteToJson<S> for UnescapedStr<'a>
impl<'a, S: JsonBuffer> WriteToJson<S> for UnescapedStr<'a>
fn write_to_json(self, out: &mut S)
Auto Trait Implementations§
impl<'a> RefUnwindSafe for UnescapedStr<'a>
impl<'a> Send for UnescapedStr<'a>
impl<'a> Sync for UnescapedStr<'a>
impl<'a> Unpin for UnescapedStr<'a>
impl<'a> UnwindSafe for UnescapedStr<'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