Struct grove::locators::BetweenLocator [−][src]
pub struct BetweenLocator<L1, L2>(pub L1, pub L2);
Expand description
A Wrapper for two other locators, that finds the segment between them.
More specifically, if the two segments intersect, this finds the intersection.
If they don’t intersect, this finds the segment that is between the two segments.
For example, the Between of ranges [3,6)
and [8,12)
will be [6,8)
,
Tuple Fields
0: L1
1: L2
Trait Implementations
impl<L1: PartialEq, L2: PartialEq> PartialEq<BetweenLocator<L1, L2>> for BetweenLocator<L1, L2>
impl<L1: PartialEq, L2: PartialEq> PartialEq<BetweenLocator<L1, L2>> for BetweenLocator<L1, L2>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<L1, L2> RefUnwindSafe for BetweenLocator<L1, L2> where
L1: RefUnwindSafe,
L2: RefUnwindSafe,
impl<L1, L2> Send for BetweenLocator<L1, L2> where
L1: Send,
L2: Send,
impl<L1, L2> Sync for BetweenLocator<L1, L2> where
L1: Sync,
L2: Sync,
impl<L1, L2> Unpin for BetweenLocator<L1, L2> where
L1: Unpin,
L2: Unpin,
impl<L1, L2> UnwindSafe for BetweenLocator<L1, L2> where
L1: UnwindSafe,
L2: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Creates the summary of a single value.
Creates the summary of a single value.