Skip to main content

ExtremumIndicator

Trait ExtremumIndicator 

Source
pub trait ExtremumIndicator {
    // Required methods
    fn init(&mut self);
    fn extr(&self, term: Term, n: usize) -> Option<&Extremum>;
    fn trend(&self, term: Term, n: usize) -> Option<&Trend>;
    fn all_extr(&self, term: Term) -> &Vec<Extremum>;
    fn all_trend(&self, term: Term) -> &Vec<Trend>;
}

Required Methods§

Source

fn init(&mut self)

Source

fn extr(&self, term: Term, n: usize) -> Option<&Extremum>

Source

fn trend(&self, term: Term, n: usize) -> Option<&Trend>

Source

fn all_extr(&self, term: Term) -> &Vec<Extremum>

Source

fn all_trend(&self, term: Term) -> &Vec<Trend>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§