INNER CODE UNIT · Rust

is_running

lemunozm/ruscii · src/app.rs:57

    pub fn is_running(&self) -> bool {
        self.running.load(Ordering::SeqCst)
    }

    /// Returns the [`Keyboard`]. For more information on how to access keyboard input, see
    /// documentation for the [keyboard](crate::keyboard) module.
    pub fn keyboard(&self) -> &Keyboard {
        &self.keyboard
    }

    pub fn dt(&self) -> &time::Duration {
        &self.dt
    }

    pub fn step(&self) -> usize {
        self.step
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…