Crate firefly_rust
source ·Re-exports§
pub use graphics::*;
Modules§
- Functions for accessing files in the app data dir.
- Draw shapes, images, and text on the screen.
- A few useful math (trigonometric) functions for f32.
- Functions for accessing files in the app ROM.
- Structs for working with shapes as values.
- Functions available only to privileged apps.
Structs§
- State of the buttons.
- DPad-like representation of the Pad.
- A file loaded from ROM or data dir into the memory.
- Like File but owns the buffer.
- A loaded font file.
- A loaded image file.
- A finger position on the touch pad.
- A subregion of an image. Constructed using Image::sub.
Enums§
- The player ID.
Functions§
- Get a random value.
- Log a debug message.
- Log an error message.
- Get the currently pressed buttons.
- Get the current touch pad state.
- Set the random seed.