Struct pvoc::Bin [] [src]

pub struct Bin {
    pub freq: f64,
    pub amp: f64,
}

Represents a component of the spectrum, composed of a frequency and amplitude.

Fields

freq: f64 amp: f64

Methods

impl Bin
[src]

fn new(freq: f64, amp: f64) -> Bin

Trait Implementations

impl Clone for Bin
[src]

fn clone(&self) -> Bin

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Bin
[src]