Skip to main content

HasIntervals

Trait HasIntervals 

Source
pub trait HasIntervals {
    // Required method
    fn intervals(&self) -> &'static [Interval];
}
Expand description

A trait for types that have a list of intervals.

Required Methods§

Source

fn intervals(&self) -> &'static [Interval]

Returns the intervals of the type.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§