Struct cpal::Format
[−]
[src]
pub struct Format { pub channels: Vec<ChannelPosition>, pub samples_rate: SamplesRate, pub data_type: SampleFormat, }
Describes a format.
Fields
channels: Vec<ChannelPosition>
samples_rate: SamplesRate
data_type: SampleFormat
Trait Implementations
impl Debug for Format
[src]
impl Clone for Format
[src]
fn clone(&self) -> Format
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 PartialEq for Format
[src]
fn eq(&self, __arg_0: &Format) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Format) -> bool
This method tests for !=
.