Skip to content

struct

HostStats

pub struct HostStats {
    pub surfaces: usize,
    pub animated_surfaces: usize,
    pub frames: u64,
    pub tailwind_rules: usize,
}

Debug counters for the most recently updated host.

Fields

surfaces

pub surfaces: usize

Drawing surfaces mounted.

animated_surfaces

pub animated_surfaces: usize

Of those, the ones that redraw every frame.

frames

pub frames: u64

Frames drawn so far.

tailwind_rules

pub tailwind_rules: usize

CSS rules generated for the classes in use.

Trait implementations