Struct pxl::Sample[][src]

#[repr(C)]
pub struct Sample { pub left: f32, pub right: f32, }

A single stereo audio sample, representing 1/SAMPLES_PER_SECOND of an audio signal

Fields

The left channel value

The right channel value

Trait Implementations

impl Copy for Sample
[src]

impl Clone for Sample
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Sample
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Sample
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Sample

impl Sync for Sample