Trait TimeIndexIntoOps

Source
pub trait TimeIndexIntoOps: Sized {
    type IndexType: AsTime;
    type RangeType: TimeIndexIntoOps<IndexType = Self::IndexType>;

    // Required methods
    fn into_range(self, w: Range<Self::IndexType>) -> Self::RangeType;
    fn into_iter(self) -> impl Iterator<Item = Self::IndexType> + Send + Sync;

    // Provided methods
    fn into_range_t(self, w: Range<i64>) -> Self::RangeType { ... }
    fn into_iter_t(self) -> impl Iterator<Item = i64> + Send { ... }
}

Required Associated Types§

Required Methods§

Source

fn into_range(self, w: Range<Self::IndexType>) -> Self::RangeType

Source

fn into_iter(self) -> impl Iterator<Item = Self::IndexType> + Send + Sync

Provided Methods§

Source

fn into_range_t(self, w: Range<i64>) -> Self::RangeType

Source

fn into_iter_t(self) -> impl Iterator<Item = i64> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§