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

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

Required Methods

Implementations on Foreign Types

AUDIO_S8

AUDIO_U8

AUDIO_S16

AUDIO_U16

AUDIO_S32

AUDIO_F32

Implementors