pub enum SystemState {
Show 111 variants Class = 0, Seed = 1, PositionX = 2, PositionY = 3, VelocityX = 4, VelocityY = 5, Heading = 6, AngularVelocity = 7, AccelerateX = 8, AccelerateY = 9, Torque = 10, Aim0 = 11, Aim1 = 12, Aim2 = 13, Aim3 = 14, Fire0 = 15, Fire1 = 16, Fire2 = 17, Fire3 = 18, Explode = 19, RadarHeading = 20, RadarWidth = 21, RadarContactFound = 22, RadarContactClass = 23, RadarContactPositionX = 24, RadarContactPositionY = 25, RadarContactVelocityX = 26, RadarContactVelocityY = 27, DebugTextPointer = 28, DebugTextLength = 29, MaxForwardAcceleration = 30, MaxLateralAcceleration = 31, MaxAngularAcceleration = 32, DebugLinesPointer = 33, DebugLinesLength = 34, RadarMinDistance = 35, RadarMaxDistance = 36, CurrentTick = 37, MaxBackwardAcceleration = 38, ActivateAbility = 39, Radio0Channel = 40, Radio0Send = 41, Radio0Receive = 42, Radio0Data0 = 43, Radio0Data1 = 44, Radio0Data2 = 45, Radio0Data3 = 46, Radio1Channel = 47, Radio1Send = 48, Radio1Receive = 49, Radio1Data0 = 50, Radio1Data1 = 51, Radio1Data2 = 52, Radio1Data3 = 53, Radio2Channel = 54, Radio2Send = 55, Radio2Receive = 56, Radio2Data0 = 57, Radio2Data1 = 58, Radio2Data2 = 59, Radio2Data3 = 60, Radio3Channel = 61, Radio3Send = 62, Radio3Receive = 63, Radio3Data0 = 64, Radio3Data1 = 65, Radio3Data2 = 66, Radio3Data3 = 67, Radio4Channel = 68, Radio4Send = 69, Radio4Receive = 70, Radio4Data0 = 71, Radio4Data1 = 72, Radio4Data2 = 73, Radio4Data3 = 74, Radio5Channel = 75, Radio5Send = 76, Radio5Receive = 77, Radio5Data0 = 78, Radio5Data1 = 79, Radio5Data2 = 80, Radio5Data3 = 81, Radio6Channel = 82, Radio6Send = 83, Radio6Receive = 84, Radio6Data0 = 85, Radio6Data1 = 86, Radio6Data2 = 87, Radio6Data3 = 88, Radio7Channel = 89, Radio7Send = 90, Radio7Receive = 91, Radio7Data0 = 92, Radio7Data1 = 93, Radio7Data2 = 94, Radio7Data3 = 95, SelectedRadio = 96, DrawnTextPointer = 97, DrawnTextLength = 98, RadarEcmMode = 99, Health = 100, Fuel = 101, RadarContactRssi = 102, RadarContactSnr = 103, ReloadTicks0 = 104, ReloadTicks1 = 105, ReloadTicks2 = 106, ReloadTicks3 = 107, Id = 108, Size = 109, MaxSize = 128,
}

Variants§

§

Class = 0

§

Seed = 1

§

PositionX = 2

§

PositionY = 3

§

VelocityX = 4

§

VelocityY = 5

§

Heading = 6

§

AngularVelocity = 7

§

AccelerateX = 8

§

AccelerateY = 9

§

Torque = 10

§

Aim0 = 11

§

Aim1 = 12

§

Aim2 = 13

§

Aim3 = 14

§

Fire0 = 15

§

Fire1 = 16

§

Fire2 = 17

§

Fire3 = 18

§

Explode = 19

§

RadarHeading = 20

§

RadarWidth = 21

§

RadarContactFound = 22

§

RadarContactClass = 23

§

RadarContactPositionX = 24

§

RadarContactPositionY = 25

§

RadarContactVelocityX = 26

§

RadarContactVelocityY = 27

§

DebugTextPointer = 28

§

DebugTextLength = 29

§

MaxForwardAcceleration = 30

§

MaxLateralAcceleration = 31

§

MaxAngularAcceleration = 32

§

DebugLinesPointer = 33

§

DebugLinesLength = 34

§

RadarMinDistance = 35

§

RadarMaxDistance = 36

§

CurrentTick = 37

§

MaxBackwardAcceleration = 38

§

ActivateAbility = 39

§

Radio0Channel = 40

§

Radio0Send = 41

§

Radio0Receive = 42

§

Radio0Data0 = 43

§

Radio0Data1 = 44

§

Radio0Data2 = 45

§

Radio0Data3 = 46

§

Radio1Channel = 47

§

Radio1Send = 48

§

Radio1Receive = 49

§

Radio1Data0 = 50

§

Radio1Data1 = 51

§

Radio1Data2 = 52

§

Radio1Data3 = 53

§

Radio2Channel = 54

§

Radio2Send = 55

§

Radio2Receive = 56

§

Radio2Data0 = 57

§

Radio2Data1 = 58

§

Radio2Data2 = 59

§

Radio2Data3 = 60

§

Radio3Channel = 61

§

Radio3Send = 62

§

Radio3Receive = 63

§

Radio3Data0 = 64

§

Radio3Data1 = 65

§

Radio3Data2 = 66

§

Radio3Data3 = 67

§

Radio4Channel = 68

§

Radio4Send = 69

§

Radio4Receive = 70

§

Radio4Data0 = 71

§

Radio4Data1 = 72

§

Radio4Data2 = 73

§

Radio4Data3 = 74

§

Radio5Channel = 75

§

Radio5Send = 76

§

Radio5Receive = 77

§

Radio5Data0 = 78

§

Radio5Data1 = 79

§

Radio5Data2 = 80

§

Radio5Data3 = 81

§

Radio6Channel = 82

§

Radio6Send = 83

§

Radio6Receive = 84

§

Radio6Data0 = 85

§

Radio6Data1 = 86

§

Radio6Data2 = 87

§

Radio6Data3 = 88

§

Radio7Channel = 89

§

Radio7Send = 90

§

Radio7Receive = 91

§

Radio7Data0 = 92

§

Radio7Data1 = 93

§

Radio7Data2 = 94

§

Radio7Data3 = 95

§

SelectedRadio = 96

§

DrawnTextPointer = 97

§

DrawnTextLength = 98

§

RadarEcmMode = 99

§

Health = 100

§

Fuel = 101

§

RadarContactRssi = 102

§

RadarContactSnr = 103

§

ReloadTicks0 = 104

§

ReloadTicks1 = 105

§

ReloadTicks2 = 106

§

ReloadTicks3 = 107

§

Id = 108

§

Size = 109

§

MaxSize = 128

Trait Implementations§

source§

impl Clone for SystemState

source§

fn clone(&self) -> SystemState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for SystemState

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.