[][src]Struct fermium::audio::SDL_AudioFormat

#[repr(transparent)]pub struct SDL_AudioFormat(pub u16);

Audio format flags.

Use the appropriate const functions to query the bits.

++-----------------------sample is signed if set
||
||       ++----------sample is big-endian if set
||       ||
||       ||          ++---sample is float if set
||       ||          ||
||       ||          || +---sample bit size---+
||       ||          || |                     |
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00

(Unspecified bits are always zero.)

Trait Implementations

impl Clone for SDL_AudioFormat[src]

impl Copy for SDL_AudioFormat[src]

impl Debug for SDL_AudioFormat[src]

impl Default for SDL_AudioFormat[src]

impl Eq for SDL_AudioFormat[src]

impl Hash for SDL_AudioFormat[src]

impl Ord for SDL_AudioFormat[src]

impl PartialEq<SDL_AudioFormat> for SDL_AudioFormat[src]

impl PartialOrd<SDL_AudioFormat> for SDL_AudioFormat[src]

impl StructuralEq for SDL_AudioFormat[src]

impl StructuralPartialEq for SDL_AudioFormat[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.