Type Definition libnotcurses_sys::NcStats

source ·
pub type NcStats = ncstats;
Expand description

notcurses runtime statistics

Implementations§

source§

impl NcStats

source

pub fn new(nc: &mut Nc) -> &mut Self

Allocates an NcStats object.

source

pub fn stats(&mut self, nc: &mut Nc)

Acquires an atomic snapshot of the notcurses object’s stats.

source

pub fn reset(&mut self, nc: &mut Nc)

Resets all cumulative stats (immediate ones are not reset).