TimedVec

Trait TimedVec 

Source
pub trait TimedVec {
    // Required methods
    fn sort(&mut self);
    fn shift_time(&mut self, t: f32);
    fn start_from_zero(&mut self);
    fn scale(&mut self, factor: f32);
    fn merge(&mut self, other: Self);
    fn fuse(&mut self, other: Self);
    fn sorted(self) -> Self;
    fn time_shifted(self, t: f32) -> Self;
    fn started_from_zero(self) -> Self;
    fn scaled(self, factor: f32) -> Self;
    fn merged(self, other: Self) -> Self;
    fn fused(self, other: Self) -> Self;
}

Required Methods§

Source

fn sort(&mut self)

Source

fn shift_time(&mut self, t: f32)

Source

fn start_from_zero(&mut self)

Source

fn scale(&mut self, factor: f32)

Source

fn merge(&mut self, other: Self)

Source

fn fuse(&mut self, other: Self)

Source

fn sorted(self) -> Self

Source

fn time_shifted(self, t: f32) -> Self

Source

fn started_from_zero(self) -> Self

Source

fn scaled(self, factor: f32) -> Self

Source

fn merged(self, other: Self) -> Self

Source

fn fused(self, other: Self) -> Self

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: Timed> TimedVec for Vec<T>

Source§

fn sort(&mut self)

Source§

fn shift_time(&mut self, t: f32)

Source§

fn start_from_zero(&mut self)

Source§

fn scale(&mut self, factor: f32)

Source§

fn merge(&mut self, other: Self)

Source§

fn fuse(&mut self, other: Self)

Source§

fn sorted(self) -> Self

Source§

fn time_shifted(self, t: f32) -> Self

Source§

fn started_from_zero(self) -> Self

Source§

fn scaled(self, factor: f32) -> Self

Source§

fn merged(self, other: Self) -> Self

Source§

fn fused(self, other: Self) -> Self

Implementors§