GLFWwindowiconifyfun

Type Alias GLFWwindowiconifyfun 

Source
pub type GLFWwindowiconifyfun = Option<unsafe extern "C" fn(*mut GLFWwindow, i32)>;
Expand description

@brief The function pointer type for window iconify callbacks.

This is the function pointer type for window iconify callbacks. A window iconify callback function has the following signature: @code void function_name(GLFWwindow* window, int iconified) @endcode

@param[in] window The window that was iconified or restored. @param[in] iconified GLFW_TRUE if the window was iconified, or GLFW_FALSE if it was restored.

@sa @ref window_iconify @sa @ref glfwSetWindowIconifyCallback

@since Added in version 3.0.

@ingroup window

Aliased Type§

pub enum GLFWwindowiconifyfun {
    None,
    Some(unsafe extern "C" fn(*mut GLFWwindow, i32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut GLFWwindow, i32))

Some value of type T.