Type Alias ModeFree

Source
pub type ModeFree = Option<unsafe extern "C" fn(data: *mut Mode)>;
Expand description

Free the switcher.

Only to be used when the switcher object itself is dynamic and has data in Mode::ed.

Aliased Type§

pub enum ModeFree {
    None,
    Some(unsafe extern "C" fn(*mut Mode)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut Mode))

Some value of type T.