SystemState

Enum SystemState 

Source
pub enum SystemState {
Show 125 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, Radar0Heading = 20, Radar0Width = 21, Radar0MinDistance = 22, Radar0MaxDistance = 23, Radar0EcmMode = 24, Radar0ContactFound = 25, Radar0ContactClass = 26, Radar0ContactPositionX = 27, Radar0ContactPositionY = 28, Radar0ContactVelocityX = 29, Radar0ContactVelocityY = 30, Radar0ContactRssi = 31, Radar0ContactSnr = 32, Radar1Heading = 33, Radar1Width = 34, Radar1MinDistance = 35, Radar1MaxDistance = 36, Radar1EcmMode = 37, Radar1ContactFound = 38, Radar1ContactClass = 39, Radar1ContactPositionX = 40, Radar1ContactPositionY = 41, Radar1ContactVelocityX = 42, Radar1ContactVelocityY = 43, Radar1ContactRssi = 44, Radar1ContactSnr = 45, DebugTextPointer = 46, DebugTextLength = 47, MaxForwardAcceleration = 48, MaxLateralAcceleration = 49, MaxAngularAcceleration = 50, DebugLinesPointer = 51, DebugLinesLength = 52, CurrentTick = 53, MaxBackwardAcceleration = 54, ActivateAbility = 55, Radio0Channel = 56, Radio0Send = 57, Radio0Receive = 58, Radio0Data0 = 59, Radio0Data1 = 60, Radio0Data2 = 61, Radio0Data3 = 62, Radio1Channel = 63, Radio1Send = 64, Radio1Receive = 65, Radio1Data0 = 66, Radio1Data1 = 67, Radio1Data2 = 68, Radio1Data3 = 69, Radio2Channel = 70, Radio2Send = 71, Radio2Receive = 72, Radio2Data0 = 73, Radio2Data1 = 74, Radio2Data2 = 75, Radio2Data3 = 76, Radio3Channel = 77, Radio3Send = 78, Radio3Receive = 79, Radio3Data0 = 80, Radio3Data1 = 81, Radio3Data2 = 82, Radio3Data3 = 83, Radio4Channel = 84, Radio4Send = 85, Radio4Receive = 86, Radio4Data0 = 87, Radio4Data1 = 88, Radio4Data2 = 89, Radio4Data3 = 90, Radio5Channel = 91, Radio5Send = 92, Radio5Receive = 93, Radio5Data0 = 94, Radio5Data1 = 95, Radio5Data2 = 96, Radio5Data3 = 97, Radio6Channel = 98, Radio6Send = 99, Radio6Receive = 100, Radio6Data0 = 101, Radio6Data1 = 102, Radio6Data2 = 103, Radio6Data3 = 104, Radio7Channel = 105, Radio7Send = 106, Radio7Receive = 107, Radio7Data0 = 108, Radio7Data1 = 109, Radio7Data2 = 110, Radio7Data3 = 111, SelectedRadio = 112, SelectedRadar = 113, DrawnTextPointer = 114, DrawnTextLength = 115, Health = 116, Fuel = 117, ReloadTicks0 = 118, ReloadTicks1 = 119, ReloadTicks2 = 120, ReloadTicks3 = 121, Id = 122, Size = 123, 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

§

Radar0Heading = 20

§

Radar0Width = 21

§

Radar0MinDistance = 22

§

Radar0MaxDistance = 23

§

Radar0EcmMode = 24

§

Radar0ContactFound = 25

§

Radar0ContactClass = 26

§

Radar0ContactPositionX = 27

§

Radar0ContactPositionY = 28

§

Radar0ContactVelocityX = 29

§

Radar0ContactVelocityY = 30

§

Radar0ContactRssi = 31

§

Radar0ContactSnr = 32

§

Radar1Heading = 33

§

Radar1Width = 34

§

Radar1MinDistance = 35

§

Radar1MaxDistance = 36

§

Radar1EcmMode = 37

§

Radar1ContactFound = 38

§

Radar1ContactClass = 39

§

Radar1ContactPositionX = 40

§

Radar1ContactPositionY = 41

§

Radar1ContactVelocityX = 42

§

Radar1ContactVelocityY = 43

§

Radar1ContactRssi = 44

§

Radar1ContactSnr = 45

§

DebugTextPointer = 46

§

DebugTextLength = 47

§

MaxForwardAcceleration = 48

§

MaxLateralAcceleration = 49

§

MaxAngularAcceleration = 50

§

DebugLinesPointer = 51

§

DebugLinesLength = 52

§

CurrentTick = 53

§

MaxBackwardAcceleration = 54

§

ActivateAbility = 55

§

Radio0Channel = 56

§

Radio0Send = 57

§

Radio0Receive = 58

§

Radio0Data0 = 59

§

Radio0Data1 = 60

§

Radio0Data2 = 61

§

Radio0Data3 = 62

§

Radio1Channel = 63

§

Radio1Send = 64

§

Radio1Receive = 65

§

Radio1Data0 = 66

§

Radio1Data1 = 67

§

Radio1Data2 = 68

§

Radio1Data3 = 69

§

Radio2Channel = 70

§

Radio2Send = 71

§

Radio2Receive = 72

§

Radio2Data0 = 73

§

Radio2Data1 = 74

§

Radio2Data2 = 75

§

Radio2Data3 = 76

§

Radio3Channel = 77

§

Radio3Send = 78

§

Radio3Receive = 79

§

Radio3Data0 = 80

§

Radio3Data1 = 81

§

Radio3Data2 = 82

§

Radio3Data3 = 83

§

Radio4Channel = 84

§

Radio4Send = 85

§

Radio4Receive = 86

§

Radio4Data0 = 87

§

Radio4Data1 = 88

§

Radio4Data2 = 89

§

Radio4Data3 = 90

§

Radio5Channel = 91

§

Radio5Send = 92

§

Radio5Receive = 93

§

Radio5Data0 = 94

§

Radio5Data1 = 95

§

Radio5Data2 = 96

§

Radio5Data3 = 97

§

Radio6Channel = 98

§

Radio6Send = 99

§

Radio6Receive = 100

§

Radio6Data0 = 101

§

Radio6Data1 = 102

§

Radio6Data2 = 103

§

Radio6Data3 = 104

§

Radio7Channel = 105

§

Radio7Send = 106

§

Radio7Receive = 107

§

Radio7Data0 = 108

§

Radio7Data1 = 109

§

Radio7Data2 = 110

§

Radio7Data3 = 111

§

SelectedRadio = 112

§

SelectedRadar = 113

§

DrawnTextPointer = 114

§

DrawnTextLength = 115

§

Health = 116

§

Fuel = 117

§

ReloadTicks0 = 118

§

ReloadTicks1 = 119

§

ReloadTicks2 = 120

§

ReloadTicks3 = 121

§

Id = 122

§

Size = 123

§

MaxSize = 128

Trait Implementations§

Source§

impl Clone for SystemState

Source§

fn clone(&self) -> SystemState

Returns a duplicate 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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,

Source§

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>,

Source§

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>,

Source§

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.