Struct mpd::status::AudioFormat [] [src]

pub struct AudioFormat {
    pub rate: u32,
    pub bits: u8,
    pub chans: u8,
}

Audio playback format

Fields

sample rate, kbps

sample resolution in bits, can be 0 for floating point resolution

number of channels

Trait Implementations

impl Debug for AudioFormat
[src]

Formats the value using the given formatter.

impl Copy for AudioFormat
[src]

impl Clone for AudioFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for AudioFormat
[src]

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

This method tests for !=.

impl Encodable for AudioFormat
[src]

Serialize a value using an Encoder.

impl FromStr for AudioFormat
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more