Struct utf8parse::Parser

source ·
pub struct Parser { /* private fields */ }
Expand description

A parser for Utf8 Characters

Repeatedly call advance with bytes to emit Utf8 characters

Implementations§

Create a new Parser

Advance the parser

The provider receiver will be called whenever a codepoint is completed or an invalid sequence is detected.

Trait Implementations§

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.