ModeInit

Type Alias ModeInit 

Source
pub type ModeInit = Option<unsafe extern "C" fn(sw: *mut Mode) -> c_int>;
Expand description

Initialize the Mode.

Returns true if successful.

Aliased Type§

pub enum ModeInit {
    None,
    Some(unsafe extern "C" fn(*mut Mode) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut Mode) -> i32)

Some value of type T.