fadecb

Type Alias fadecb 

Source
pub type fadecb = Option<unsafe extern "C" fn(nc: *mut notcurses, n: *mut ncplane, arg1: *const timespec, curry: *mut c_void) -> c_int>;
Expand description

Called for each fade iteration on ‘ncp’. 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’.

Aliased Type§

pub enum fadecb {
    None,
    Some(unsafe extern "C" fn(*mut notcurses, *mut ncplane, *const timespec, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut notcurses, *mut ncplane, *const timespec, *mut c_void) -> i32)

Some value of type T.