Struct pxl::Sample [−][src]
A single stereo audio sample, representing 1/SAMPLES_PER_SECOND
of an audio signal
Fields
left: f32
The left channel value
right: f32
The right channel value
Trait Implementations
impl Copy for Sample
[src]
impl Copy for Sample
impl Clone for Sample
[src]
impl Clone for Sample
fn clone(&self) -> Sample
[src]
fn clone(&self) -> Sample
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Sample
[src]
impl Debug for Sample
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Sample
[src]
impl PartialEq for Sample