Crate calc

source ·
Expand description

The calc crate contains all the drawing and button-press logic for the calc-rs project.

You can think of the calc-rs crate as a crate that runs calc on the physical calculator, and you can think of the calc-simulator crate as a crate that runs calc on linux/windows

This crates main external interface is the CalculatorState object. More specifically, it provides the on_button_press and the draw methods.

Re-exports

Modules

Structs