Range

Trait Range 

Source
pub trait Range<T> {
    // Required method
    fn range(&self) -> impl Iterator<Item = T>;
}

Required Methods§

Source

fn range(&self) -> impl Iterator<Item = T>

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.

Implementations on Foreign Types§

Source§

impl Range<NaiveDate> for NaiveDate

Source§

fn range(&self) -> impl Iterator<Item = NaiveDate>

Source§

impl Range<NaiveDateTime> for NaiveDateTime

Source§

fn range(&self) -> impl Iterator<Item = NaiveDateTime>

Implementors§