pub struct Containing<A, B>{ /* private fields */ }Expand description
Finds extents from the first list that contain extents from the second list.
Akin to finding haystacks with needles in them.
Implementations§
Trait Implementations§
Source§impl<A, B> Algebra for Containing<A, B>
impl<A, B> Algebra for Containing<A, B>
Source§fn tau_prime(&self, k: Position) -> Extent
fn tau_prime(&self, k: Position) -> Extent
The last extent ending at or before the position k. Read more
Source§fn rho_prime(&self, k: Position) -> Extent
fn rho_prime(&self, k: Position) -> Extent
The last extent starting at or before the position k. Read more
Source§fn iter_tau(self) -> IterTau<Self> ⓘwhere
Self: Sized,
fn iter_tau(self) -> IterTau<Self> ⓘwhere
Self: Sized,
Find all extents in a forward direction using the tau primitive
Source§fn iter_rho(self) -> IterRho<Self> ⓘwhere
Self: Sized,
fn iter_rho(self) -> IterRho<Self> ⓘwhere
Self: Sized,
Find all extents in a forward direction using the rho primitive
Source§fn iter_tau_prime(self) -> IterTauPrime<Self> ⓘwhere
Self: Sized,
fn iter_tau_prime(self) -> IterTauPrime<Self> ⓘwhere
Self: Sized,
Find all extents in a backward direction using the tau-prime primitive
Source§fn iter_rho_prime(self) -> IterRhoPrime<Self> ⓘwhere
Self: Sized,
fn iter_rho_prime(self) -> IterRhoPrime<Self> ⓘwhere
Self: Sized,
Find all extents in a backward direction using the rho-prime primitive
Source§impl<A, B> Clone for Containing<A, B>
impl<A, B> Clone for Containing<A, B>
Source§fn clone(&self) -> Containing<A, B>
fn clone(&self) -> Containing<A, B>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A, B> Debug for Containing<A, B>
impl<A, B> Debug for Containing<A, B>
impl<A, B> Copy for Containing<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for Containing<A, B>
impl<A, B> RefUnwindSafe for Containing<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Containing<A, B>
impl<A, B> Sync for Containing<A, B>
impl<A, B> Unpin for Containing<A, B>
impl<A, B> UnwindSafe for Containing<A, B>where
A: UnwindSafe,
B: UnwindSafe,
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