[−][src]Module rmicrobit::prelude
Traits intended to be globally imported.
This module is intended to be used as follows:
use rmicrobit::prelude::*;
It exports some of this crate's traits without binding them to names, so that their methods become available without otherwise polluting the global namespace.
The pub use
above provides:
Trait | Example |
---|---|
Frame | frame.set() |
MicrobitGpioExt | GPIO.split_by_kind() |
PollButton | button_a.poll_event() |
Animate | scrolling_images.tick() |