Crate crs_bind[][src]

A crate for running rust on the VEX V5.

Modules

allocator

Allocator

bindings
error

Error

io

STDIO/STDERR macros.

machine

Support for synchronous and asynchronous state machines.

robot

For use with the entry macro.

rtos

Multitasking primitives.

select
util

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 system call from POSIX.

select_any

Generates a future event (i.e. one which implements crate::rtos::Selectable) from a set of events which all have the same result type, by repeated application of crate::rtos::select_either.

select_merge

Generates a future event (i.e. one which implements crate::rtos::Selectable) from a similar recipe as the select macro, combining the behaviour of crate::rtos::select_map and select_any.

state_machine

Creates an asynchronous state machine with the given visibility, name and state definitions.