[][src]Struct fermium::SDL_AudioSpec

#[repr(C)]pub struct SDL_AudioSpec {
    pub freq: c_int,
    pub format: SDL_AudioFormat,
    pub channels: Uint8,
    pub silence: Uint8,
    pub samples: Uint16,
    pub padding: Uint16,
    pub size: Uint32,
    pub callback: SDL_AudioCallback,
    pub userdata: *mut c_void,
}

Fields

freq: c_intformat: SDL_AudioFormatchannels: Uint8silence: Uint8samples: Uint16padding: Uint16size: Uint32callback: SDL_AudioCallbackuserdata: *mut c_void

Trait Implementations

impl Clone for SDL_AudioSpec[src]

impl Copy for SDL_AudioSpec[src]

impl Debug for SDL_AudioSpec[src]

impl Default for SDL_AudioSpec[src]

impl PartialEq<SDL_AudioSpec> for SDL_AudioSpec[src]

impl StructuralPartialEq for SDL_AudioSpec[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.