pub enum QuerySegmentKind {
Child,
Descendant,
}Expand description
The kind of query segment
Variants§
Child
A normal child
Addresses the direct descendant of the preceding segment
Descendant
A descendant child
Addresses all descendant children of the preceding segment, recursively
Trait Implementations§
Source§impl Clone for QuerySegmentKind
impl Clone for QuerySegmentKind
Source§fn clone(&self) -> QuerySegmentKind
fn clone(&self) -> QuerySegmentKind
Returns a duplicate 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 QuerySegmentKind
impl Debug for QuerySegmentKind
Source§impl PartialEq for QuerySegmentKind
impl PartialEq for QuerySegmentKind
impl Eq for QuerySegmentKind
impl StructuralPartialEq for QuerySegmentKind
Auto Trait Implementations§
impl Freeze for QuerySegmentKind
impl RefUnwindSafe for QuerySegmentKind
impl Send for QuerySegmentKind
impl Sync for QuerySegmentKind
impl Unpin for QuerySegmentKind
impl UnwindSafe for QuerySegmentKind
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.