pub struct Recombiner { /* private fields */ }Expand description
UTF-8-safe streaming recombiner.
Implementations§
Source§impl Recombiner
impl Recombiner
Sourcepub fn push(&mut self, bytes: &[u8]) -> String
pub fn push(&mut self, bytes: &[u8]) -> String
Push the next chunk. Returns whatever resolved to whole UTF-8 codepoints; any trailing fragment is buffered.
Trait Implementations§
Source§impl Clone for Recombiner
impl Clone for Recombiner
Source§fn clone(&self) -> Recombiner
fn clone(&self) -> Recombiner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Recombiner
impl Debug for Recombiner
Source§impl Default for Recombiner
impl Default for Recombiner
Source§fn default() -> Recombiner
fn default() -> Recombiner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Recombiner
impl RefUnwindSafe for Recombiner
impl Send for Recombiner
impl Sync for Recombiner
impl Unpin for Recombiner
impl UnsafeUnpin for Recombiner
impl UnwindSafe for Recombiner
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