pub struct CompiledSegment { /* private fields */ }Expand description
One step in a compiled dot-path.
Holds the raw field name (used for JsonValue::Object lookup) plus
the optional array-index parse cached at compile time (used for
JsonValue::Array lookup).
Trait Implementations§
Source§impl Clone for CompiledSegment
impl Clone for CompiledSegment
Source§fn clone(&self) -> CompiledSegment
fn clone(&self) -> CompiledSegment
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 moreAuto Trait Implementations§
impl Freeze for CompiledSegment
impl RefUnwindSafe for CompiledSegment
impl Send for CompiledSegment
impl Sync for CompiledSegment
impl Unpin for CompiledSegment
impl UnsafeUnpin for CompiledSegment
impl UnwindSafe for CompiledSegment
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