Struct cpal::Format [] [src]

pub struct Format {
    pub channels: Vec<ChannelPosition>,
    pub samples_rate: SamplesRate,
    pub data_type: SampleFormat,
}

Describes a format.

Fields

Trait Implementations

impl Debug for Format
[src]

Formats the value using the given formatter.

impl Clone for Format
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Format
[src]

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

This method tests for !=.

impl Eq for Format
[src]