panda::sys

Type Alias GVoidFunc

Source
pub type GVoidFunc = Option<unsafe extern "C" fn()>;
Expand description

GVoidFunc:

Declares a type of function which takes no arguments and has no return value. It is used to specify the type function passed to g_atexit().

Aliased Type§

enum GVoidFunc {
    None,
    Some(unsafe extern "C" fn()),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn())

Some value of type T.