pub struct JsonStringScanner { /* private fields */ }Implementations§
Source§impl JsonStringScanner
impl JsonStringScanner
pub fn new() -> Self
Sourcepub fn next(&mut self, input: &Simd8x64<u8>) -> JsonStringBlock
pub fn next(&mut self, input: &Simd8x64<u8>) -> JsonStringBlock
Return a mask of all string characters plus end quotes.
prev_escaped is overflow saying whether the next character is escaped. prev_in_string is overflow saying whether we’re still in a string.
Backslash sequences outside of quotes will be detected in stage 2.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsonStringScanner
impl RefUnwindSafe for JsonStringScanner
impl Send for JsonStringScanner
impl Sync for JsonStringScanner
impl Unpin for JsonStringScanner
impl UnsafeUnpin for JsonStringScanner
impl UnwindSafe for JsonStringScanner
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