EngineeringUnits

Enum EngineeringUnits 

Source
#[repr(u16)]
pub enum EngineeringUnits {
Show 268 variants MetersPerSecondPerSecond = 166, SquareMeters = 0, SquareCentimeters = 116, SquareFeet = 1, SquareInches = 115, Currency1 = 105, Currency2 = 106, Currency3 = 107, Currency4 = 108, Currency5 = 109, Currency6 = 110, Currency7 = 111, Currency8 = 112, Currency9 = 113, Currency10 = 114, Milliamperes = 2, Amperes = 3, AmperesPerMeter = 167, AmperesPerSquareMeter = 168, AmpereSquareMeters = 169, Decibels = 199, DecibelsMillivolt = 200, DecibelsVolt = 201, Farads = 170, Henrys = 171, Ohms = 4, OhmMeters = 172, Milliohms = 145, Kilohms = 122, Megohms = 123, Microsiemens = 190, Millisiemens = 202, Siemens = 173, SiemensPerMeter = 174, Teslas = 175, Volts = 5, Millivolts = 124, Kilovolts = 6, Megavolts = 7, VoltAmperes = 8, KilovoltAmperes = 9, MegavoltAmperes = 10, VoltAmperesReactive = 11, KilovoltAmperesReactive = 12, MegavoltAmperesReactive = 13, VoltsPerDegreeKelvin = 176, VoltsPerMeter = 177, DegreesPhase = 14, PowerFactor = 15, Webers = 178, Joules = 16, Kilojoules = 17, KilojoulesPerKilogram = 125, Megajoules = 126, WattHours = 18, KilowattHours = 19, MegawattHours = 146, WattHoursReactive = 203, KilowattHoursReactive = 204, MegawattHoursReactive = 205, Btus = 20, KiloBtus = 147, MegaBtus = 148, Therms = 21, TonHours = 22, JoulesPerKilogramDryAir = 23, KilojoulesPerKilogramDryAir = 149, MegajoulesPerKilogramDryAir = 150, BtusPerPoundDryAir = 24, BtusPerPound = 117, JoulesPerDegreeKelvin = 127, KilojoulesPerDegreeKelvin = 151, MegajoulesPerDegreeKelvin = 152, JoulesPerKilogramDegreeKelvin = 128, Newton = 153, CyclesPerHour = 25, CyclesPerMinute = 26, Hertz = 27, Kilohertz = 129, Megahertz = 130, PerHour = 131, GramsOfWaterPerKilogramDryAir = 28, PercentRelativeHumidity = 29, Micrometers = 194, Millimeters = 30, Centimeters = 118, Kilometers = 193, Meters = 31, Inches = 32, Feet = 33, Candelas = 179, CandelasPerSquareMeter = 180, WattsPerSquareFoot = 34, WattsPerSquareMeter = 35, Lumens = 36, Luxes = 37, FootCandles = 38, Milligrams = 196, Grams = 195, Kilograms = 39, PoundsMass = 40, Tons = 41, GramsPerSecond = 154, GramsPerMinute = 155, KilogramsPerSecond = 42, KilogramsPerMinute = 43, KilogramsPerHour = 44, PoundsMassPerSecond = 119, PoundsMassPerMinute = 45, PoundsMassPerHour = 46, TonsPerHour = 156, Milliwatts = 132, Watts = 47, Kilowatts = 48, Megawatts = 49, BtusPerHour = 50, KiloBtusPerHour = 157, Horsepower = 51, TonsRefrigeration = 52, Pascals = 53, Hectopascals = 133, Kilopascals = 54, Millibars = 134, Bars = 55, PoundsForcePerSquareInch = 56, MillimetersOfWater = 206, CentimetersOfWater = 57, InchesOfWater = 58, MillimetersOfMercury = 59, CentimetersOfMercury = 60, InchesOfMercury = 61, DegreesCelsius = 62, DegreesKelvin = 63, DegreesKelvinPerHour = 181, DegreesKelvinPerMinute = 182, DegreesFahrenheit = 64, DegreeDaysCelsius = 65, DegreeDaysFahrenheit = 66, DeltaDegreesFahrenheit = 120, DeltaDegreesKelvin = 121, Years = 67, Months = 68, Weeks = 69, Days = 70, Hours = 71, Minutes = 72, Seconds = 73, HundredthsSeconds = 158, Milliseconds = 159, NewtonMeters = 160, MillimetersPerSecond = 161, MillimetersPerMinute = 162, MetersPerSecond = 74, MetersPerMinute = 163, MetersPerHour = 164, KilometersPerHour = 75, FeetPerSecond = 76, FeetPerMinute = 77, MilesPerHour = 78, CubicFeet = 79, CubicMeters = 80, ImperialGallons = 81, Milliliters = 197, Liters = 82, UsGallons = 83, CubicFeetPerSecond = 142, CubicFeetPerMinute = 84, CubicFeetPerHour = 191, CubicMetersPerSecond = 85, CubicMetersPerMinute = 165, CubicMetersPerHour = 135, ImperialGallonsPerMinute = 86, MillilitersPerSecond = 198, LitersPerSecond = 87, LitersPerMinute = 88, LitersPerHour = 136, UsGallonsPerMinute = 89, UsGallonsPerHour = 192, DegreesAngular = 90, DegreesCelsiusPerHour = 91, DegreesCelsiusPerMinute = 92, DegreesFahrenheitPerHour = 93, DegreesFahrenheitPerMinute = 94, JouleSeconds = 183, KilogramsPerCubicMeter = 186, KwHoursPerSquareMeter = 137, KwHoursPerSquareFoot = 138, MegajoulesPerSquareMeter = 139, MegajoulesPerSquareFoot = 140, NoUnits = 95, NewtonSeconds = 187, NewtonsPerMeter = 188, PartsPerMillion = 96, PartsPerBillion = 97, Percent = 98, PercentObscurationPerFoot = 143, PercentObscurationPerMeter = 144, PercentPerSecond = 99, PerMinute = 100, PerSecond = 101, PsiPerDegreeFahrenheit = 102, Radians = 103, RadiansPerSecond = 184, RevolutionsPerMinute = 104, SquareMetersPerNewton = 185, WattsPerMeterPerDegreeKelvin = 189, WattsPerSquareMeterDegreeKelvin = 141, PerMille = 207, GramsPerGram = 208, KilogramsPerKilogram = 209, GramsPerKilogram = 210, MilligramsPerGram = 211, MilligramsPerKilogram = 212, GramsPerMilliliter = 213, GramsPerLiter = 214, MilligramsPerLiter = 215, MicrogramsPerLiter = 216, GramsPerCubicMeter = 217, MilligramsPerCubicMeter = 218, MicrogramsPerCubicMeter = 219, NanogramsPerCubicMeter = 220, GramsPerCubicCentimeter = 221, Becquerels = 222, Kilobecquerels = 223, Megabecquerels = 224, Gray = 225, Milligray = 226, Microgray = 227, Sieverts = 228, Millisieverts = 229, Microsieverts = 230, MicrosievertsPerHour = 231, DecibelsA = 232, NephelometricTurbidityUnit = 233, Ph = 234, GramsPerSquareMeter = 235, MinutesPerDegreeKelvin = 236, OhmMeterSquaredPerMeter = 237, AmpereSeconds = 238, VoltAmpereHours = 239, KilovoltAmpereHours = 240, MegavoltAmpereHours = 241, VoltAmpereHoursReactive = 242, KilovoltAmpereHoursReactive = 243, MegavoltAmpereHoursReactive = 244, VoltSquareHours = 245, AmpereSquareHours = 246, JoulePerHours = 247, CubicFeetPerDay = 248, CubicMetersPerDay = 249, WattHoursPerCubicMeter = 250, JoulesPerCubicMeter = 251, MolePercent = 252, PascalSeconds = 253, MillionStandardCubicFeetPerMinute = 254, ReservedRangeMax = 255, ProprietaryRangeMin = 256, ProprietaryRangeMax = 47_807, StandardCubicFeetPerDay = 47_808, MillionStandardCubicFeetPerDay = 47_809, ThousandCubicFeetPerDay = 47_810, ThousandStandardCubicFeetPerDay = 47_811, PoundsMassPerDay = 47_812, Millirems = 47_814, MilliremsPerHour = 47_815, ReservedRangeMax2 = 49_999, ProprietaryRangeMin2 = 50_000, ProprietaryRangeMax2 = 65_535,
}

Variants§

§

MetersPerSecondPerSecond = 166

§

SquareMeters = 0

§

SquareCentimeters = 116

§

SquareFeet = 1

§

SquareInches = 115

§

Currency1 = 105

§

Currency2 = 106

§

Currency3 = 107

§

Currency4 = 108

§

Currency5 = 109

§

Currency6 = 110

§

Currency7 = 111

§

Currency8 = 112

§

Currency9 = 113

§

Currency10 = 114

§

Milliamperes = 2

§

Amperes = 3

§

AmperesPerMeter = 167

§

AmperesPerSquareMeter = 168

§

AmpereSquareMeters = 169

§

Decibels = 199

§

DecibelsMillivolt = 200

§

DecibelsVolt = 201

§

Farads = 170

§

Henrys = 171

§

Ohms = 4

§

OhmMeters = 172

§

Milliohms = 145

§

Kilohms = 122

§

Megohms = 123

§

Microsiemens = 190

§

Millisiemens = 202

§

Siemens = 173

§

SiemensPerMeter = 174

§

Teslas = 175

§

Volts = 5

§

Millivolts = 124

§

Kilovolts = 6

§

Megavolts = 7

§

VoltAmperes = 8

§

KilovoltAmperes = 9

§

MegavoltAmperes = 10

§

VoltAmperesReactive = 11

§

KilovoltAmperesReactive = 12

§

MegavoltAmperesReactive = 13

§

VoltsPerDegreeKelvin = 176

§

VoltsPerMeter = 177

§

DegreesPhase = 14

§

PowerFactor = 15

§

Webers = 178

§

Joules = 16

§

Kilojoules = 17

§

KilojoulesPerKilogram = 125

§

Megajoules = 126

§

WattHours = 18

§

KilowattHours = 19

§

MegawattHours = 146

§

WattHoursReactive = 203

§

KilowattHoursReactive = 204

§

MegawattHoursReactive = 205

§

Btus = 20

§

KiloBtus = 147

§

MegaBtus = 148

§

Therms = 21

§

TonHours = 22

§

JoulesPerKilogramDryAir = 23

§

KilojoulesPerKilogramDryAir = 149

§

MegajoulesPerKilogramDryAir = 150

§

BtusPerPoundDryAir = 24

§

BtusPerPound = 117

§

JoulesPerDegreeKelvin = 127

§

KilojoulesPerDegreeKelvin = 151

§

MegajoulesPerDegreeKelvin = 152

§

JoulesPerKilogramDegreeKelvin = 128

§

Newton = 153

§

CyclesPerHour = 25

§

CyclesPerMinute = 26

§

Hertz = 27

§

Kilohertz = 129

§

Megahertz = 130

§

PerHour = 131

§

GramsOfWaterPerKilogramDryAir = 28

§

PercentRelativeHumidity = 29

§

Micrometers = 194

§

Millimeters = 30

§

Centimeters = 118

§

Kilometers = 193

§

Meters = 31

§

Inches = 32

§

Feet = 33

§

Candelas = 179

§

CandelasPerSquareMeter = 180

§

WattsPerSquareFoot = 34

§

WattsPerSquareMeter = 35

§

Lumens = 36

§

Luxes = 37

§

FootCandles = 38

§

Milligrams = 196

§

Grams = 195

§

Kilograms = 39

§

PoundsMass = 40

§

Tons = 41

§

GramsPerSecond = 154

§

GramsPerMinute = 155

§

KilogramsPerSecond = 42

§

KilogramsPerMinute = 43

§

KilogramsPerHour = 44

§

PoundsMassPerSecond = 119

§

PoundsMassPerMinute = 45

§

PoundsMassPerHour = 46

§

TonsPerHour = 156

§

Milliwatts = 132

§

Watts = 47

§

Kilowatts = 48

§

Megawatts = 49

§

BtusPerHour = 50

§

KiloBtusPerHour = 157

§

Horsepower = 51

§

TonsRefrigeration = 52

§

Pascals = 53

§

Hectopascals = 133

§

Kilopascals = 54

§

Millibars = 134

§

Bars = 55

§

PoundsForcePerSquareInch = 56

§

MillimetersOfWater = 206

§

CentimetersOfWater = 57

§

InchesOfWater = 58

§

MillimetersOfMercury = 59

§

CentimetersOfMercury = 60

§

InchesOfMercury = 61

§

DegreesCelsius = 62

§

DegreesKelvin = 63

§

DegreesKelvinPerHour = 181

§

DegreesKelvinPerMinute = 182

§

DegreesFahrenheit = 64

§

DegreeDaysCelsius = 65

§

DegreeDaysFahrenheit = 66

§

DeltaDegreesFahrenheit = 120

§

DeltaDegreesKelvin = 121

§

Years = 67

§

Months = 68

§

Weeks = 69

§

Days = 70

§

Hours = 71

§

Minutes = 72

§

Seconds = 73

§

HundredthsSeconds = 158

§

Milliseconds = 159

§

NewtonMeters = 160

§

MillimetersPerSecond = 161

§

MillimetersPerMinute = 162

§

MetersPerSecond = 74

§

MetersPerMinute = 163

§

MetersPerHour = 164

§

KilometersPerHour = 75

§

FeetPerSecond = 76

§

FeetPerMinute = 77

§

MilesPerHour = 78

§

CubicFeet = 79

§

CubicMeters = 80

§

ImperialGallons = 81

§

Milliliters = 197

§

Liters = 82

§

UsGallons = 83

§

CubicFeetPerSecond = 142

§

CubicFeetPerMinute = 84

§

CubicFeetPerHour = 191

§

CubicMetersPerSecond = 85

§

CubicMetersPerMinute = 165

§

CubicMetersPerHour = 135

§

ImperialGallonsPerMinute = 86

§

MillilitersPerSecond = 198

§

LitersPerSecond = 87

§

LitersPerMinute = 88

§

LitersPerHour = 136

§

UsGallonsPerMinute = 89

§

UsGallonsPerHour = 192

§

DegreesAngular = 90

§

DegreesCelsiusPerHour = 91

§

DegreesCelsiusPerMinute = 92

§

DegreesFahrenheitPerHour = 93

§

DegreesFahrenheitPerMinute = 94

§

JouleSeconds = 183

§

KilogramsPerCubicMeter = 186

§

KwHoursPerSquareMeter = 137

§

KwHoursPerSquareFoot = 138

§

MegajoulesPerSquareMeter = 139

§

MegajoulesPerSquareFoot = 140

§

NoUnits = 95

§

NewtonSeconds = 187

§

NewtonsPerMeter = 188

§

PartsPerMillion = 96

§

PartsPerBillion = 97

§

Percent = 98

§

PercentObscurationPerFoot = 143

§

PercentObscurationPerMeter = 144

§

PercentPerSecond = 99

§

PerMinute = 100

§

PerSecond = 101

§

PsiPerDegreeFahrenheit = 102

§

Radians = 103

§

RadiansPerSecond = 184

§

RevolutionsPerMinute = 104

§

SquareMetersPerNewton = 185

§

WattsPerMeterPerDegreeKelvin = 189

§

WattsPerSquareMeterDegreeKelvin = 141

§

PerMille = 207

§

GramsPerGram = 208

§

KilogramsPerKilogram = 209

§

GramsPerKilogram = 210

§

MilligramsPerGram = 211

§

MilligramsPerKilogram = 212

§

GramsPerMilliliter = 213

§

GramsPerLiter = 214

§

MilligramsPerLiter = 215

§

MicrogramsPerLiter = 216

§

GramsPerCubicMeter = 217

§

MilligramsPerCubicMeter = 218

§

MicrogramsPerCubicMeter = 219

§

NanogramsPerCubicMeter = 220

§

GramsPerCubicCentimeter = 221

§

Becquerels = 222

§

Kilobecquerels = 223

§

Megabecquerels = 224

§

Gray = 225

§

Milligray = 226

§

Microgray = 227

§

Sieverts = 228

§

Millisieverts = 229

§

Microsieverts = 230

§

MicrosievertsPerHour = 231

§

DecibelsA = 232

§

NephelometricTurbidityUnit = 233

§

Ph = 234

§

GramsPerSquareMeter = 235

§

MinutesPerDegreeKelvin = 236

§

OhmMeterSquaredPerMeter = 237

§

AmpereSeconds = 238

§

VoltAmpereHours = 239

§

KilovoltAmpereHours = 240

§

MegavoltAmpereHours = 241

§

VoltAmpereHoursReactive = 242

§

KilovoltAmpereHoursReactive = 243

§

MegavoltAmpereHoursReactive = 244

§

VoltSquareHours = 245

§

AmpereSquareHours = 246

§

JoulePerHours = 247

§

CubicFeetPerDay = 248

§

CubicMetersPerDay = 249

§

WattHoursPerCubicMeter = 250

§

JoulesPerCubicMeter = 251

§

MolePercent = 252

§

PascalSeconds = 253

§

MillionStandardCubicFeetPerMinute = 254

§

ReservedRangeMax = 255

§

ProprietaryRangeMin = 256

§

ProprietaryRangeMax = 47_807

§

StandardCubicFeetPerDay = 47_808

§

MillionStandardCubicFeetPerDay = 47_809

§

ThousandCubicFeetPerDay = 47_810

§

ThousandStandardCubicFeetPerDay = 47_811

§

PoundsMassPerDay = 47_812

§

Millirems = 47_814

§

MilliremsPerHour = 47_815

§

ReservedRangeMax2 = 49_999

§

ProprietaryRangeMin2 = 50_000

§

ProprietaryRangeMax2 = 65_535

Trait Implementations§

Source§

impl Clone for EngineeringUnits

Source§

fn clone(&self) -> EngineeringUnits

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 Debug for EngineeringUnits

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl TryFrom<u32> for EngineeringUnits

Source§

type Error = u32

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

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.

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