Type Definition libnotcurses_sys::NcFadeCb[][src]

type NcFadeCb = Option<unsafe extern "C" fn(_: *mut Nc, _: *mut NcPlane, _: *const NcTime, _: *mut c_void) -> NcIntResult>;
Expand description

Called for each fade iteration on the NcPlane.

If anything but 0 is returned, the fading operation ceases immediately, and that value is propagated out.

The recommended absolute display time target is passed in ‘tspec’.