Struct grove::locators::UnionLocator [−][src]
pub struct UnionLocator<L1, L2>(pub L1, pub L2);
Expand description
A Wrapper for two other locators, that finds the smallest segment containing both of them.
For example, the Union of ranges [3,6)
and [8,12)
will be [3,12)
.
Tuple Fields
0: L1
1: L2
Trait Implementations
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 UnionLocator<L1, L2> where
L1: RefUnwindSafe,
L2: RefUnwindSafe,
impl<L1, L2> Send for UnionLocator<L1, L2> where
L1: Send,
L2: Send,
impl<L1, L2> Sync for UnionLocator<L1, L2> where
L1: Sync,
L2: Sync,
impl<L1, L2> Unpin for UnionLocator<L1, L2> where
L1: Unpin,
L2: Unpin,
impl<L1, L2> UnwindSafe for UnionLocator<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.