[][src]Struct simple_bpm::SimpleEstimator

pub struct SimpleEstimator {
    pub lower: f32,
    pub upper: f32,
    pub interval: u64,
    pub rate: f32,
    pub steps: u32,
    pub samples: u32,
    // some fields omitted
}

Fields

lower: f32upper: f32interval: u64rate: f32steps: u32samples: u32

Methods

impl SimpleEstimator[src]

pub fn default() -> SimpleEstimator[src]

pub fn with_accuracy(level: u32) -> SimpleEstimator[src]

pub fn with_settings(interval: u64, steps: u32, samples: u32) -> SimpleEstimator[src]

pub fn analyse<T>(self: &mut SimpleEstimator, samples: T) -> f32 where
    T: Iterator<Item = f32>, 
[src]

Trait Implementations

impl Debug for SimpleEstimator[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.