Struct rsonpath_lib::result::IndexResult
source · pub struct IndexResult { /* private fields */ }
Expand description
Query result containing all indices of colons that constitute a match.
Implementations§
Trait Implementations§
source§impl Clone for IndexResult
impl Clone for IndexResult
source§fn clone(&self) -> IndexResult
fn clone(&self) -> IndexResult
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 Debug for IndexResult
impl Debug for IndexResult
source§impl Default for IndexResult
impl Default for IndexResult
source§fn default() -> IndexResult
fn default() -> IndexResult
Returns the “default value” for a type. Read more
source§impl Display for IndexResult
impl Display for IndexResult
source§impl From<IndexResult> for Vec<usize>
impl From<IndexResult> for Vec<usize>
source§fn from(result: IndexResult) -> Self
fn from(result: IndexResult) -> Self
Converts to this type from the input type.
source§impl Hash for IndexResult
impl Hash for IndexResult
source§impl Ord for IndexResult
impl Ord for IndexResult
source§fn cmp(&self, other: &IndexResult) -> Ordering
fn cmp(&self, other: &IndexResult) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<IndexResult> for IndexResult
impl PartialEq<IndexResult> for IndexResult
source§fn eq(&self, other: &IndexResult) -> bool
fn eq(&self, other: &IndexResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<IndexResult> for IndexResult
impl PartialOrd<IndexResult> for IndexResult
source§fn partial_cmp(&self, other: &IndexResult) -> Option<Ordering>
fn partial_cmp(&self, other: &IndexResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl QueryResult for IndexResult
impl QueryResult for IndexResult
impl Eq for IndexResult
impl StructuralEq for IndexResult
impl StructuralPartialEq for IndexResult
Auto Trait Implementations§
impl RefUnwindSafe for IndexResult
impl Send for IndexResult
impl Sync for IndexResult
impl Unpin for IndexResult
impl UnwindSafe for IndexResult
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