Module vex_rt::prelude

source ·
Expand description

Convenient to use common components.

Re-exports

pub use crate::adi::*;
pub use crate::battery::*;
pub use crate::controller::*;
pub use crate::distance::*;
pub use crate::imu::*;
pub use crate::io::*;
pub use crate::machine::*;
pub use crate::motor::*;
pub use crate::peripherals::*;
pub use crate::robot::*;
pub use crate::rotation::*;
pub use crate::rtos::*;
pub use crate::smart_port::*;

Macros

Specifies the entrypoint for the robot.
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.

Enums

Represents a runtime error.

Traits

Represents a type which has some sentinel values which represent errors.

Functions

Generates an Error object from the value of errno for the current task.
Gets the value of errno for the current task.