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

pub trait AudioFormatNum {
    fn get_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

fn get_audio_format() -> AudioFormat

fn zero() -> Self

Implementors