#[repr(C, align(32))]pub(crate) struct Utf8CheckAlgorithm<T> {
pub(crate) prev: T,
pub(crate) incomplete: T,
pub(crate) error: T,
}Fields§
§prev: T§incomplete: T§error: TImplementations§
Source§impl Utf8CheckAlgorithm<SimdU8Value<__m256i>>
impl Utf8CheckAlgorithm<SimdU8Value<__m256i>>
unsafe fn must_be_2_3_continuation( prev2: SimdU8Value<__m256i>, prev3: SimdU8Value<__m256i>, ) -> SimdU8Value<__m256i>
Source§impl Utf8CheckAlgorithm<SimdU8Value<__m256i>>
impl Utf8CheckAlgorithm<SimdU8Value<__m256i>>
unsafe fn default() -> Self
unsafe fn check_incomplete_pending(&mut self)
unsafe fn is_incomplete(input: SimdU8Value<__m256i>) -> SimdU8Value<__m256i>
unsafe fn check_special_cases( input: SimdU8Value<__m256i>, prev1: SimdU8Value<__m256i>, ) -> SimdU8Value<__m256i>
unsafe fn check_multibyte_lengths( input: SimdU8Value<__m256i>, prev: SimdU8Value<__m256i>, special_cases: SimdU8Value<__m256i>, ) -> SimdU8Value<__m256i>
unsafe fn has_error(&self) -> bool
unsafe fn check_bytes(&mut self, input: SimdU8Value<__m256i>)
unsafe fn check_utf8(&mut self, input: SimdInput)
unsafe fn check_block(&mut self, input: SimdInput)
Source§impl Utf8CheckAlgorithm<SimdU8Value<__m128i>>
impl Utf8CheckAlgorithm<SimdU8Value<__m128i>>
unsafe fn must_be_2_3_continuation( prev2: SimdU8Value<__m128i>, prev3: SimdU8Value<__m128i>, ) -> SimdU8Value<__m128i>
Source§impl Utf8CheckAlgorithm<SimdU8Value<__m128i>>
impl Utf8CheckAlgorithm<SimdU8Value<__m128i>>
unsafe fn default() -> Self
unsafe fn check_incomplete_pending(&mut self)
unsafe fn is_incomplete(input: SimdU8Value<__m128i>) -> SimdU8Value<__m128i>
unsafe fn check_special_cases( input: SimdU8Value<__m128i>, prev1: SimdU8Value<__m128i>, ) -> SimdU8Value<__m128i>
unsafe fn check_multibyte_lengths( input: SimdU8Value<__m128i>, prev: SimdU8Value<__m128i>, special_cases: SimdU8Value<__m128i>, ) -> SimdU8Value<__m128i>
unsafe fn has_error(&self) -> bool
unsafe fn check_bytes(&mut self, input: SimdU8Value<__m128i>)
unsafe fn check_utf8(&mut self, input: SimdInput)
unsafe fn check_block(&mut self, input: SimdInput)
Auto Trait Implementations§
impl<T> Freeze for Utf8CheckAlgorithm<T>where
T: Freeze,
impl<T> RefUnwindSafe for Utf8CheckAlgorithm<T>where
T: RefUnwindSafe,
impl<T> Send for Utf8CheckAlgorithm<T>where
T: Send,
impl<T> Sync for Utf8CheckAlgorithm<T>where
T: Sync,
impl<T> Unpin for Utf8CheckAlgorithm<T>where
T: Unpin,
impl<T> UnsafeUnpin for Utf8CheckAlgorithm<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Utf8CheckAlgorithm<T>where
T: UnwindSafe,
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