pub struct DefaultHandler;
Expand description
The default escape sequence handler.
The following escapes are valid:
\\a
->\x07
\\b
->\x08
\\t
->\x09
\\n
->\x0A
\\v
->\x0B
\\f
->\x0C
\\r
->\x0D
\\e
->\x1B
\\'
->'
\\"
->"
\\`
->`
\\\\
->\\
\\xNN
->\xNN
\\o
->\o
, for all octal digitso
\\oo
->\oo
, for all octal digitso
\\ooo
->\ooo
, for all octal digitso
\\uXXXX
->\u{XXXX}
\\u{HEX}
->\u{HEX}
Trait Implementations§
Source§impl EscapeHandler for DefaultHandler
impl EscapeHandler for DefaultHandler
Auto Trait Implementations§
impl Freeze for DefaultHandler
impl RefUnwindSafe for DefaultHandler
impl Send for DefaultHandler
impl Sync for DefaultHandler
impl Unpin for DefaultHandler
impl UnwindSafe for DefaultHandler
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