pub struct Utf8ValidatorImp { /* private fields */ }
Expand description
Low-level implementation of the basic::imp::Utf8Validator
trait.
This is implementation requires CPU SIMD features specified by the module it resides in.
It is undefined behavior to call it if the required CPU features are not
available.
Finishes the validation and returns
Ok(())
if the input was valid UTF-8.
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.