pub struct Region { /* private fields */ }
Expand description
A region contains text positions for capture groups in a match result.
Implementations§
Trait Implementations§
source§impl PartialEq<Region> for Region
impl PartialEq<Region> for Region
impl Eq for Region
impl StructuralEq for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl RefUnwindSafe for Region
impl !Send for Region
impl !Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.