[][src]Struct hl_capture::hooks::hw::Functions

struct Functions {
    RunListenServer: unsafe extern "C" fn(_: *mut c_void, _: *mut c_char, _: *mut c_char, _: *mut c_char, _: *mut c_void, _: *mut c_void) -> c_int,
    CL_Disconnect: unsafe extern "C" fn(),
    Cmd_AddCommand: unsafe extern "C" fn(_: *const c_char, _: *mut c_void),
    Cmd_Argc: unsafe extern "C" fn() -> c_int,
    Cmd_Argv: unsafe extern "C" fn(_: c_int) -> *const c_char,
    Con_Printf: unsafe extern "C" fn(_: *const c_char),
    Con_ToggleConsole_f: unsafe extern "C" fn(),
    Cvar_RegisterVariable: unsafe extern "C" fn(_: *mut cvar_t),
    GL_SetMode: unsafe extern "C" fn(_: c_int, _: *mut c_void, _: *mut c_void, _: c_int, _: *const c_char, _: *const c_char) -> c_int,
    Host_FilterTime: unsafe extern "C" fn(_: c_float) -> c_int,
    Key_Event: unsafe extern "C" fn(key: c_int, down: c_int),
    Memory_Init: unsafe extern "C" fn(_: *mut c_void, _: c_int),
    S_PaintChannels: unsafe extern "C" fn(endtime: c_int),
    S_TransferStereo16: unsafe extern "C" fn(end: c_int),
    Sys_VID_FlipScreen: unsafe extern "C" fn(),
    VideoMode_GetCurrentVideoMode: unsafe extern "C" fn(_: *mut c_int, _: *mut c_int, _: *mut c_int),
    VideoMode_IsWindowed: unsafe extern "C" fn() -> c_int,
}

Pointers to all used hw functions.

Fields

RunListenServer: unsafe extern "C" fn(_: *mut c_void, _: *mut c_char, _: *mut c_char, _: *mut c_char, _: *mut c_void, _: *mut c_void) -> c_intCL_Disconnect: unsafe extern "C" fn()Cmd_AddCommand: unsafe extern "C" fn(_: *const c_char, _: *mut c_void)Cmd_Argc: unsafe extern "C" fn() -> c_intCmd_Argv: unsafe extern "C" fn(_: c_int) -> *const c_charCon_Printf: unsafe extern "C" fn(_: *const c_char)Con_ToggleConsole_f: unsafe extern "C" fn()Cvar_RegisterVariable: unsafe extern "C" fn(_: *mut cvar_t)GL_SetMode: unsafe extern "C" fn(_: c_int, _: *mut c_void, _: *mut c_void, _: c_int, _: *const c_char, _: *const c_char) -> c_intHost_FilterTime: unsafe extern "C" fn(_: c_float) -> c_intKey_Event: unsafe extern "C" fn(key: c_int, down: c_int)Memory_Init: unsafe extern "C" fn(_: *mut c_void, _: c_int)S_PaintChannels: unsafe extern "C" fn(endtime: c_int)S_TransferStereo16: unsafe extern "C" fn(end: c_int)Sys_VID_FlipScreen: unsafe extern "C" fn()VideoMode_GetCurrentVideoMode: unsafe extern "C" fn(_: *mut c_int, _: *mut c_int, _: *mut c_int)VideoMode_IsWindowed: unsafe extern "C" fn() -> c_int

Auto Trait Implementations

impl Unpin for Functions

impl Sync for Functions

impl Send for Functions

impl RefUnwindSafe for Functions

impl UnwindSafe for Functions

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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