GLFWwindowmaximizefun

Type Alias GLFWwindowmaximizefun 

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

@brief The function pointer type for window maximize callbacks.

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

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

@sa @ref window_maximize @sa glfwSetWindowMaximizeCallback

@since Added in version 3.3.

@ingroup window

Aliased Type§

pub enum GLFWwindowmaximizefun {
    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.