Struct sample::window::Rectangle [] [src]

pub struct Rectangle;

The simplest window type, equivalent to replacing all but N values of data sequence by zeroes, making it appear as though the waveform suddenly turns on and off.

Trait Implementations

impl Clone for Rectangle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Rectangle
[src]

impl Debug for Rectangle
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Rectangle
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Rectangle
[src]

impl Type for Rectangle
[src]

[src]

Returns the amplitude for the given phase, given as some Sample type.