pub trait CharAccumulator: Default {
// Required method
fn add(&mut self, byte: u8) -> Option<char>;
}
Expand description
Build a char
out of bytes
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl CharAccumulator for AsciiParser
impl CharAccumulator for Utf8Parser
Available on crate feature
utf8
only.