Type Definition libnotcurses_sys::NcStreamCb

source ·
pub type NcStreamCb = fn(_: &mut NcVisual, _: &mut NcVisualOptions, _: &NcTime, _: Option<&mut NcPlane>) -> NcResult_i32;
Expand description

Called for each frame rendered from an NcVisual

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

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