[][src]Struct winamp_sys::out::Out_Module

#[repr(C)]pub struct Out_Module {
    pub version: c_int,
    pub description: *mut c_char,
    pub id: intptr_t,
    pub hMainWindow: HWND,
    pub hDllInstance: HINSTANCE,
    pub Config: unsafe extern "C" fn(hwndParent: HWND),
    pub About: unsafe extern "C" fn(hwndParent: HWND),
    pub Init: unsafe extern "C" fn(),
    pub Quit: unsafe extern "C" fn(),
    pub Open: unsafe extern "C" fn(samplerate: c_int, numchannels: c_int, bitspersamp: c_int, bufferlenms: c_int, prebufferms: c_int) -> c_int,
    pub Close: unsafe extern "C" fn(),
    pub Write: unsafe extern "C" fn(buf: *mut c_char, len: c_int) -> c_int,
    pub CanWrite: unsafe extern "C" fn() -> c_int,
    pub IsPlaying: unsafe extern "C" fn() -> c_int,
    pub Pause: unsafe extern "C" fn(pause: c_int) -> c_int,
    pub SetVolume: unsafe extern "C" fn(volume: c_int),
    pub SetPan: unsafe extern "C" fn(pan: c_int),
    pub Flush: unsafe extern "C" fn(t: c_int),
    pub GetOutputTime: unsafe extern "C" fn() -> c_int,
    pub GetWrittenTime: unsafe extern "C" fn() -> c_int,
}

Fields

version: c_intdescription: *mut c_charid: intptr_thMainWindow: HWNDhDllInstance: HINSTANCEConfig: unsafe extern "C" fn(hwndParent: HWND)About: unsafe extern "C" fn(hwndParent: HWND)Init: unsafe extern "C" fn()Quit: unsafe extern "C" fn()Open: unsafe extern "C" fn(samplerate: c_int, numchannels: c_int, bitspersamp: c_int, bufferlenms: c_int, prebufferms: c_int) -> c_intClose: unsafe extern "C" fn()Write: unsafe extern "C" fn(buf: *mut c_char, len: c_int) -> c_intCanWrite: unsafe extern "C" fn() -> c_intIsPlaying: unsafe extern "C" fn() -> c_intPause: unsafe extern "C" fn(pause: c_int) -> c_intSetVolume: unsafe extern "C" fn(volume: c_int)SetPan: unsafe extern "C" fn(pan: c_int)Flush: unsafe extern "C" fn(t: c_int)GetOutputTime: unsafe extern "C" fn() -> c_intGetWrittenTime: unsafe extern "C" fn() -> c_int

Trait Implementations

impl Clone for Out_Module[src]

impl Copy for Out_Module[src]

impl Debug for Out_Module[src]

impl Eq for Out_Module[src]

impl PartialEq<Out_Module> for Out_Module[src]

impl StructuralEq for Out_Module[src]

impl StructuralPartialEq for Out_Module[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.