Struct sample::signal::Rate [] [src]

pub struct Rate { /* fields omitted */ }

The rate at which phrase a Signal is sampled.

Methods

impl Rate
[src]

[src]

Create a ConstHz iterator which consistently yields "hz / rate".

[src]

Create a variable hz some iterator that yields hz and an initial hz.

The Hz iterator yields phase step sizes equal to "hz / rate".

Trait Implementations

impl Copy for Rate
[src]

impl Clone for Rate
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Rate
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Rate
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.