pub enum EscapedStringFragment<'a> {
NotEscaped(&'a str),
Escaped(char),
}
Expand description
A fragment of an escaped string
Variants§
NotEscaped(&'a str)
A series of characters which weren’t escaped in the input.
Escaped(char)
A character which was escaped in the input.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for EscapedStringFragment<'a>
impl<'a> RefUnwindSafe for EscapedStringFragment<'a>
impl<'a> Send for EscapedStringFragment<'a>
impl<'a> Sync for EscapedStringFragment<'a>
impl<'a> Unpin for EscapedStringFragment<'a>
impl<'a> UnwindSafe for EscapedStringFragment<'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