pub enum PathSearch {
All,
Any {
count: u32,
},
AllShortest,
AnyShortest,
ShortestCounted {
count: u32,
},
ShortestGroups {
count: u32,
},
}Expand description
The lowered path-search selector. The AST’s optional path/group counts are resolved here (omitted ⇒ 1).
Variants§
All
Every path (explicit ALL, or a bare path-mode prefix).
Any
Any count paths (ANY [k]).
AllShortest
Every minimum-length path (ALL SHORTEST).
AnyShortest
One minimum-length path (ANY SHORTEST).
ShortestCounted
The count shortest paths (SHORTEST k).
ShortestGroups
Every path in the count smallest length groups (SHORTEST [k] GROUP(S)).
Trait Implementations§
Source§impl Clone for PathSearch
impl Clone for PathSearch
impl Copy for PathSearch
Source§impl Debug for PathSearch
impl Debug for PathSearch
impl Eq for PathSearch
Source§impl Hash for PathSearch
impl Hash for PathSearch
Source§impl PartialEq for PathSearch
impl PartialEq for PathSearch
impl StructuralPartialEq for PathSearch
Auto Trait Implementations§
impl Freeze for PathSearch
impl RefUnwindSafe for PathSearch
impl Send for PathSearch
impl Sync for PathSearch
impl Unpin for PathSearch
impl UnsafeUnpin for PathSearch
impl UnwindSafe for PathSearch
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.