Struct sdl2::audio::AudioSpec [] [src]

pub struct AudioSpec {
    pub freq: i32,
    pub format: AudioFormat,
    pub channels: u8,
    pub silence: u8,
    pub samples: u16,
    pub size: u32,
}

Fields

Trait Implementations

impl Copy for AudioSpec
[src]

impl Clone for AudioSpec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for AudioSpec
[src]

impl PartialEq for AudioSpec
[src]

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

This method tests for !=.

impl Hash for AudioSpec
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for AudioSpec
[src]

Formats the value using the given formatter.