pub struct MergedTimeIndex<L, R>(pub L, pub R);Tuple Fields§
§0: L§1: RTrait Implementations§
Source§impl<L: Clone, R: Clone> Clone for MergedTimeIndex<L, R>
impl<L: Clone, R: Clone> Clone for MergedTimeIndex<L, R>
Source§fn clone(&self) -> MergedTimeIndex<L, R>
fn clone(&self) -> MergedTimeIndex<L, R>
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, L: TimeIndexOps<'a>, R: TimeIndexOps<'a, IndexType = L::IndexType>> TimeIndexOps<'a> for MergedTimeIndex<L, R>
impl<'a, L: TimeIndexOps<'a>, R: TimeIndexOps<'a, IndexType = L::IndexType>> TimeIndexOps<'a> for MergedTimeIndex<L, R>
type IndexType = <L as TimeIndexOps<'a>>::IndexType
type RangeType = MergedTimeIndex<<L as TimeIndexOps<'a>>::RangeType, <R as TimeIndexOps<'a>>::RangeType>
fn active(&self, w: Range<Self::IndexType>) -> bool
fn range(&self, w: Range<Self::IndexType>) -> Self::RangeType
fn first(&self) -> Option<Self::IndexType>
fn last(&self) -> Option<Self::IndexType>
fn iter(self) -> impl Iterator<Item = Self::IndexType> + Send + Sync + 'a
fn iter_rev(self) -> impl Iterator<Item = Self::IndexType> + Send + Sync + 'a
fn len(&self) -> usize
fn is_empty(&self) -> bool
fn active_t(&self, w: Range<i64>) -> bool
fn range_t(&self, w: Range<i64>) -> Self::RangeType
fn first_t(&self) -> Option<i64>
fn last_t(&self) -> Option<i64>
fn iter_t(self) -> impl Iterator<Item = i64> + Send + Sync + 'a
fn iter_rev_t(self) -> impl Iterator<Item = i64> + Send + Sync + 'a
fn merge<R: TimeIndexOps<'a, IndexType = Self::IndexType>>( self, other: R, ) -> MergedTimeIndex<Self, R>
impl<L: Copy, R: Copy> Copy for MergedTimeIndex<L, R>
Auto Trait Implementations§
impl<L, R> Freeze for MergedTimeIndex<L, R>
impl<L, R> RefUnwindSafe for MergedTimeIndex<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for MergedTimeIndex<L, R>
impl<L, R> Sync for MergedTimeIndex<L, R>
impl<L, R> Unpin for MergedTimeIndex<L, R>
impl<L, R> UnwindSafe for MergedTimeIndex<L, R>where
L: UnwindSafe,
R: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more