Trait sdl2::audio::AudioFormatNum [] [src]

pub trait AudioFormatNum {
    fn audio_format() -> AudioFormat;
    fn zero() -> Self;
}

A phantom type for retreiving the SDL_AudioFormat of a given generic type. All format types are returned as native-endian.

Required Methods

Implementors