pub trait TimeRange<T> {
// Required methods
fn hours(&self) -> impl Iterator<Item = T>;
fn minutes(&self) -> impl Iterator<Item = T>;
fn seconds(&self) -> impl Iterator<Item = T>;
fn hours_with_iter(&self, end: &Self) -> impl Iterator<Item = T>;
fn minutes_with_iter(&self, end: &Self) -> impl Iterator<Item = T>;
fn seconds_with_iter(&self, end: &Self) -> impl Iterator<Item = T>;
}
Required Methods§
Sourcefn hours_with_iter(&self, end: &Self) -> impl Iterator<Item = T>
fn hours_with_iter(&self, end: &Self) -> impl Iterator<Item = T>
Sourcefn minutes_with_iter(&self, end: &Self) -> impl Iterator<Item = T>
fn minutes_with_iter(&self, end: &Self) -> impl Iterator<Item = T>
Sourcefn seconds_with_iter(&self, end: &Self) -> impl Iterator<Item = T>
fn seconds_with_iter(&self, end: &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.