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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for AudioSpec
[src]

impl PartialEq for AudioSpec
[src]

[src]

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

[src]

This method tests for !=.

impl Hash for AudioSpec
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for AudioSpec
[src]

[src]

Formats the value using the given formatter.