pub struct Utf8ValidatorImp {
algorithm: Utf8CheckAlgorithm<SimdU8Value<__m128i>>,
incomplete_data: [u8; 64],
incomplete_len: usize,
}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.
Fields§
§algorithm: Utf8CheckAlgorithm<SimdU8Value<__m128i>>§incomplete_data: [u8; 64]§incomplete_len: usizeImplementations§
Source§impl Utf8ValidatorImp
impl Utf8ValidatorImp
unsafe fn update_from_incomplete_data(&mut self)
Trait Implementations§
Source§impl Utf8Validator for Utf8ValidatorImp
Available on crate feature public_imp only.
impl Utf8Validator for Utf8ValidatorImp
Available on crate feature
public_imp only.Auto Trait Implementations§
impl Freeze for Utf8ValidatorImp
impl RefUnwindSafe for Utf8ValidatorImp
impl Send for Utf8ValidatorImp
impl Sync for Utf8ValidatorImp
impl Unpin for Utf8ValidatorImp
impl UnsafeUnpin for Utf8ValidatorImp
impl UnwindSafe for Utf8ValidatorImp
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