pub struct StructuralIndex { /* private fields */ }Expand description
Sorted absolute offsets of structural characters outside JSON strings:
{ } [ ] : ,
Built with the same escape-aware string rules as the rest of jshift (safe loops /
memchr under the hood via existing string helpers).
Implementations§
Trait Implementations§
Source§impl Clone for StructuralIndex
impl Clone for StructuralIndex
Source§fn clone(&self) -> StructuralIndex
fn clone(&self) -> StructuralIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructuralIndex
impl Debug for StructuralIndex
Source§impl Default for StructuralIndex
impl Default for StructuralIndex
Source§fn default() -> StructuralIndex
fn default() -> StructuralIndex
Returns the “default value” for a type. Read more
impl Eq for StructuralIndex
Source§impl PartialEq for StructuralIndex
impl PartialEq for StructuralIndex
impl StructuralPartialEq for StructuralIndex
Auto Trait Implementations§
impl Freeze for StructuralIndex
impl RefUnwindSafe for StructuralIndex
impl Send for StructuralIndex
impl Sync for StructuralIndex
impl Unpin for StructuralIndex
impl UnsafeUnpin for StructuralIndex
impl UnwindSafe for StructuralIndex
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