pub enum ControllerDataPackageType {
ButtonCommand,
Color,
Quaternion,
Accelerometer,
Gyro,
Magnetometer,
Location,
}
Expand description
Lists all data packages which can be sent by the controller. Internal state used during parsing. Use ControllerEvent
to return the actual event.
Variants
ButtonCommand
Color
Quaternion
Accelerometer
Gyro
Magnetometer
Location
Trait Implementations
sourceimpl Debug for ControllerDataPackageType
impl Debug for ControllerDataPackageType
sourceimpl Format for ControllerDataPackageType
impl Format for ControllerDataPackageType
sourceimpl PartialEq<ControllerDataPackageType> for ControllerDataPackageType
impl PartialEq<ControllerDataPackageType> for ControllerDataPackageType
sourcefn eq(&self, other: &ControllerDataPackageType) -> bool
fn eq(&self, other: &ControllerDataPackageType) -> bool
sourceimpl TryFrom<u8> for ControllerDataPackageType
impl TryFrom<u8> for ControllerDataPackageType
impl Eq for ControllerDataPackageType
impl StructuralEq for ControllerDataPackageType
impl StructuralPartialEq for ControllerDataPackageType
Auto Trait Implementations
impl RefUnwindSafe for ControllerDataPackageType
impl Send for ControllerDataPackageType
impl Sync for ControllerDataPackageType
impl Unpin for ControllerDataPackageType
impl UnwindSafe for ControllerDataPackageType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more