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

freq
format
channels
silence
samples
size

Trait Implementations

Derived Implementations

impl Debug for AudioSpec

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for AudioSpec

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for AudioSpec

fn eq(&self, __arg_0: &AudioSpec) -> bool

fn ne(&self, __arg_0: &AudioSpec) -> bool

impl Eq for AudioSpec

impl Clone for AudioSpec

fn clone(&self) -> AudioSpec

fn clone_from(&mut self, source: &Self)

impl Copy for AudioSpec