TimeArray

Trait TimeArray 

Source
pub trait TimeArray<T>: TimeInterval<T> {
    // Required methods
    fn time_view(&self) -> &[f64];
    fn intensity_view(&self) -> &[f32];
}
Expand description

An expansion of TimeInterval which provides a contiguous slice over the time dimension

Required Methods§

Source

fn time_view(&self) -> &[f64]

A slice over the complete time dimension

Source

fn intensity_view(&self) -> &[f32]

A slice over the complete intensity dimension

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<T, U> TimeArray<T> for &U
where U: TimeArray<T>,

Source§

fn time_view(&self) -> &[f64]

Source§

fn intensity_view(&self) -> &[f32]

Implementors§

Source§

impl<T0, T, Y, F> TimeArray<Y> for NDFeatureAdapter<T0, T, Y, F>
where F: NDFeatureLike<T, Y> + TimeInterval<Y> + TimeArray<Y> + CoordinateLike<T0>,

Source§

impl<X, Y> TimeArray<Y> for ChargedFeature<X, Y>

Source§

impl<X, Y> TimeArray<Y> for ChargedFeatureView<'_, X, Y>

Source§

impl<X, Y> TimeArray<Y> for Feature<X, Y>

Source§

impl<X, Y> TimeArray<Y> for FeatureView<'_, X, Y>

Source§

impl<X, Y> TimeArray<Y> for SimpleFeature<X, Y>

Source§

impl<X, Y> TimeArray<Y> for SimpleFeatureView<'_, X, Y>

Source§

impl<X, Y, F> TimeArray<Y> for ChargedFeatureWrapper<X, Y, F>
where F: TimeInterval<Y> + TimeArray<Y>,

Source§

impl<const N: usize, T, Y> TimeArray<Y> for NDFeature<N, T, Y>