pub struct DefaultHandler;Expand description
The basic Output = char case.
(Normally this is not particularly interesting outside the crate, but exporting this is useful for testing.)
Implementations§
Trait Implementations§
Source§impl Clone for DefaultHandler
impl Clone for DefaultHandler
Source§impl Debug for DefaultHandler
impl Debug for DefaultHandler
Source§impl Default for DefaultHandler
impl Default for DefaultHandler
Source§impl Utf8Handler for DefaultHandler
impl Utf8Handler for DefaultHandler
Source§fn single_byte(&self, ascii: Ascii) -> Self::Output
fn single_byte(&self, ascii: Ascii) -> Self::Output
Map a single-byte UTF-8 sequence to Output.
Source§fn two_byte(&self, sequence: TwoByteSequence) -> Self::Output
fn two_byte(&self, sequence: TwoByteSequence) -> Self::Output
Map a two-byte UTF-8 sequence to Output.
Source§fn three_byte(&self, sequence: ThreeByteSequence) -> Self::Output
fn three_byte(&self, sequence: ThreeByteSequence) -> Self::Output
Map a three-byte UTF-8 sequence to Output.
Source§fn four_byte(&self, sequence: FourByteSequence) -> Self::Output
fn four_byte(&self, sequence: FourByteSequence) -> Self::Output
Map a four-byte UTF-8 sequence to Output.
Auto Trait Implementations§
impl Freeze for DefaultHandler
impl RefUnwindSafe for DefaultHandler
impl Send for DefaultHandler
impl Sync for DefaultHandler
impl Unpin for DefaultHandler
impl UnsafeUnpin 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