pub struct LazyLocation<'a, 'b> { /* private fields */ }
Expand description
A lazily constructed location within a JSON instance.
LazyLocation
builds a path incrementally during JSON Schema validation without allocating
memory until required by storing each segment on the stack.
Implementations§
source§impl<'a, 'b> LazyLocation<'a, 'b>
impl<'a, 'b> LazyLocation<'a, 'b>
Trait Implementations§
source§impl<'a, 'b> Clone for LazyLocation<'a, 'b>
impl<'a, 'b> Clone for LazyLocation<'a, 'b>
source§fn clone(&self) -> LazyLocation<'a, 'b>
fn clone(&self) -> LazyLocation<'a, 'b>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, 'b> Debug for LazyLocation<'a, 'b>
impl<'a, 'b> Debug for LazyLocation<'a, 'b>
source§impl Default for LazyLocation<'_, '_>
impl Default for LazyLocation<'_, '_>
source§impl<'a> From<&'a LazyLocation<'_, '_>> for Location
impl<'a> From<&'a LazyLocation<'_, '_>> for Location
source§fn from(value: &'a LazyLocation<'_, '_>) -> Self
fn from(value: &'a LazyLocation<'_, '_>) -> Self
Converts to this type from the input type.
source§impl<'a, 'b> PartialEq for LazyLocation<'a, 'b>
impl<'a, 'b> PartialEq for LazyLocation<'a, 'b>
impl<'a, 'b> Eq for LazyLocation<'a, 'b>
impl<'a, 'b> StructuralPartialEq for LazyLocation<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for LazyLocation<'a, 'b>
impl<'a, 'b> RefUnwindSafe for LazyLocation<'a, 'b>
impl<'a, 'b> Send for LazyLocation<'a, 'b>
impl<'a, 'b> Sync for LazyLocation<'a, 'b>
impl<'a, 'b> Unpin for LazyLocation<'a, 'b>
impl<'a, 'b> UnwindSafe for LazyLocation<'a, 'b>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)