pub enum Rep {
One,
OneOrMore,
ZeroOrMore,
ZeroOrOne,
}Expand description
Path repetition operator.
Variants§
One
exactly one hop (a plain predicate)
OneOrMore
+ — one or more hops (transitive closure)
ZeroOrMore
* — zero or more hops (reflexive-transitive closure)
ZeroOrOne
? — zero or one hop
Trait Implementations§
impl Copy for Rep
impl Eq for Rep
impl StructuralPartialEq for Rep
Auto Trait Implementations§
impl Forget for Rep
impl Freeze for Rep
impl Move for Rep
impl RefUnwindSafe for Rep
impl Send for Rep
impl Sync for Rep
impl Unpin for Rep
impl UnsafeUnpin for Rep
impl UnwindSafe for Rep
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.