safe-vex 4.4.0

A modular, safe and data-orientated rust wrapper over the Purdue PROS library for Vex Robotics
Documentation
//! All the possible ports on the Vex v5 brain

/// A SmartPort on the Vex v5 brain
#[allow(missing_docs)]
#[derive(Debug, Clone, Copy)]
#[repr(u8)]
pub enum SmartPort {
    One = 1,
    Two = 2,
    Three = 3,
    Four = 4,
    Five = 5,
    Six = 6,
    Seven = 7,
    Eight = 8,
    Nine = 9,
    Ten = 10,
    Eleven = 11,
    Twelve = 12,
    Thirteen = 13,
    Fourteen = 14,
    Fifteen = 15,
    Sixteen = 16,
    Seventeen = 17,
    Eighteen = 18,
    Nineteen = 19,
    Twenty = 20,
    TwentyOne = 21,
}

/// An ADI port on the brain
#[allow(missing_docs)]
#[derive(Debug, Clone, Copy)]
#[repr(u8)]
pub enum AdiPort {
    A = 1,
    B = 2,
    C = 3,
    D = 4,
    E = 5,
    F = 6,
    G = 7,
    H = 8,
}