Crate vex_rt[−][src]
Expand description
A crate for running rust on the VEX V5.
Modules
adi | Interfacing with ADI components of the Vex V5 robot. |
battery | V5 Battery API. |
controller | Controller API. |
distance | Distance Sensor API. |
imu | Inertial Sensor API. |
io | STDIO/STDERR macros. |
machine | Support for synchronous and asynchronous state machines. |
motor | Motor API. |
peripherals | Peripherals. |
prelude | Convenient to |
robot | For use with the |
rotation | Rotation Sensor API. |
rtos | Multitasking primitives. |
serial | API for using smart ports as generic serial ports. |
smart_port | SmartPort. |
Macros
entry | Specifies the entrypoint for the robot. |
select | Selects over a range of possible future events, processing exactly one.
Inspired by equivalent behaviours in other programming languages such as Go
and Kotlin, and ultimately the |
select_any | Generates a future event (i.e. one which implements
|
select_merge | Generates a future event (i.e. one which implements
|
state_machine | Creates an asynchronous state machine with the given visibility, name and state definitions. |