Enum esp32_nimble::cpfd::ChrUnit

source ·
#[repr(u16)]
pub enum ChrUnit {
Show 126 variants Unitless = 9_984, Metre = 9_985, Kilogram = 9_986, Second = 9_987, Ampere = 9_988, Kelvin = 9_989, Mole = 9_990, Candela = 9_991, SquareMetres = 10_000, CubicMetres = 10_001, MetresPerSecond = 10_002, MetresPerSecondSquared = 10_003, ReciprocalMetre = 10_004, KilogramPerCubicMetreDensity = 10_005, KilogramPerSquareMetre = 10_006, CubicMetrePerKilogram = 10_007, AmperePerSquareMetre = 10_008, AmperePerMetre = 10_009, MolePerCubicMetre = 10_010, KilogramPerCubicMetreMassConc = 10_011, CandelaPerSquareMetre = 10_012, RefractiveIndex = 10_013, RelativePermeability = 10_014, Radian = 10_016, Steradian = 10_017, Hertz = 10_018, Newton = 10_019, Pascal = 10_020, Joule = 10_021, Watt = 10_022, Coulomb = 10_023, Volt = 10_024, Farad = 10_025, Ohm = 10_026, Siemens = 10_027, Weber = 10_028, Tesla = 10_029, Henry = 10_030, DegreeCelsius = 10_031, Lumen = 10_032, Lux = 10_033, Becquerel = 10_034, Gray = 10_035, Sievert = 10_036, Katal = 10_037, PascalSecond = 10_048, NewtonMetre = 10_049, NewtonPerMetre = 10_050, RadianPerSecond = 10_051, RadianPerSecondSquared = 10_052, WattPerSquareMetreHeat = 10_053, JoulePerKelvin = 10_054, JoulePerKilogramKelvin = 10_055, JoulePerKilogram = 10_056, WattPerMetreKelvin = 10_057, JoulePerCubicMetre = 10_058, VoltPerMetre = 10_059, CoulombPerCubicMetre = 10_060, CoulombPerSquareMetreCharge = 10_061, CoulombPerSquareMetreFlux = 10_062, FaradPerMetre = 10_063, HenryPerMetre = 10_064, JoulePerMole = 10_065, JoulePerMoleKelvin = 10_066, CoulombPerKilogram = 10_067, GrayPerSecond = 10_068, WattPerSteradian = 10_069, WattPerSquareMetreSteradian = 10_070, KatalPerCubicMetre = 10_071, Minute = 10_080, Hour = 10_081, Day = 10_082, Degree = 10_083, MinuteAngle = 10_084, SecondAngle = 10_085, Hectare = 10_086, Litre = 10_087, Tonne = 10_088, Bar = 10_112, MillimetreOfMercury = 10_113, Angstrom = 10_114, NauticalMile = 10_115, Barn = 10_116, Knot = 10_117, Neper = 10_118, Bel = 10_119, Yard = 10_144, Parsec = 10_145, Inch = 10_146, Foot = 10_147, Mile = 10_148, PoundForcePerSquareInch = 10_149, KilometrePerHour = 10_150, MilePerHour = 10_151, RevolutionPerMinute = 10_152, GramCalorie = 10_153, KilogramCalorie = 10_154, KilowattHour = 10_155, DegreeFahrenheit = 10_156, Percentage = 10_157, PerMille = 10_158, BeatsPerMinute = 10_159, AmpereHours = 10_160, MilligramPerDecilitre = 10_161, MillimolePerLitre = 10_162, Year = 10_163, Month = 10_164, CountPerCubicMetre = 10_165, WattPerSquareMetreIrradiance = 10_166, PerKilogramPerMinute = 10_167, Pound = 10_168, MetabolicEquivalent = 10_169, PerMinuteStep = 10_170, PerMinuteStroke = 10_172, KilometrePerMinute = 10_173, LumenPerWatt = 10_174, LumenHour = 10_175, LuxHour = 10_176, GramPerSecond = 10_177, LitrePerSecond = 10_178, Decibel = 10_179, PartsPerMillion = 10_180, PartsPerBillion = 10_181, MilligramPerDecilitrePerMinute = 10_182, KilovoltAmpereHour = 10_183, VoltAmpere = 10_184,
}

Variants§

§

Unitless = 9_984

Unitless

§

Metre = 9_985

§

Kilogram = 9_986

§

Second = 9_987

§

Ampere = 9_988

§

Kelvin = 9_989

§

Mole = 9_990

§

Candela = 9_991

§

SquareMetres = 10_000

§

CubicMetres = 10_001

§

MetresPerSecond = 10_002

§

MetresPerSecondSquared = 10_003

§

ReciprocalMetre = 10_004

§

KilogramPerCubicMetreDensity = 10_005

§

KilogramPerSquareMetre = 10_006

§

CubicMetrePerKilogram = 10_007

§

AmperePerSquareMetre = 10_008

§

AmperePerMetre = 10_009

§

MolePerCubicMetre = 10_010

§

KilogramPerCubicMetreMassConc = 10_011

§

CandelaPerSquareMetre = 10_012

§

RefractiveIndex = 10_013

§

RelativePermeability = 10_014

§

Radian = 10_016

§

Steradian = 10_017

§

Hertz = 10_018

§

Newton = 10_019

§

Pascal = 10_020

§

Joule = 10_021

§

Watt = 10_022

§

Coulomb = 10_023

§

Volt = 10_024

§

Farad = 10_025

§

Ohm = 10_026

§

Siemens = 10_027

§

Weber = 10_028

§

Tesla = 10_029

§

Henry = 10_030

§

DegreeCelsius = 10_031

§

Lumen = 10_032

§

Lux = 10_033

§

Becquerel = 10_034

§

Gray = 10_035

§

Sievert = 10_036

§

Katal = 10_037

§

PascalSecond = 10_048

§

NewtonMetre = 10_049

§

NewtonPerMetre = 10_050

§

RadianPerSecond = 10_051

§

RadianPerSecondSquared = 10_052

§

WattPerSquareMetreHeat = 10_053

§

JoulePerKelvin = 10_054

§

JoulePerKilogramKelvin = 10_055

§

JoulePerKilogram = 10_056

§

WattPerMetreKelvin = 10_057

§

JoulePerCubicMetre = 10_058

§

VoltPerMetre = 10_059

§

CoulombPerCubicMetre = 10_060

§

CoulombPerSquareMetreCharge = 10_061

§

CoulombPerSquareMetreFlux = 10_062

§

FaradPerMetre = 10_063

§

HenryPerMetre = 10_064

§

JoulePerMole = 10_065

§

JoulePerMoleKelvin = 10_066

§

CoulombPerKilogram = 10_067

§

GrayPerSecond = 10_068

§

WattPerSteradian = 10_069

§

WattPerSquareMetreSteradian = 10_070

§

KatalPerCubicMetre = 10_071

§

Minute = 10_080

§

Hour = 10_081

§

Day = 10_082

§

Degree = 10_083

§

MinuteAngle = 10_084

§

SecondAngle = 10_085

§

Hectare = 10_086

§

Litre = 10_087

§

Tonne = 10_088

§

Bar = 10_112

§

MillimetreOfMercury = 10_113

§

Angstrom = 10_114

§

NauticalMile = 10_115

§

Barn = 10_116

§

Knot = 10_117

§

Neper = 10_118

§

Bel = 10_119

§

Yard = 10_144

§

Parsec = 10_145

§

Inch = 10_146

§

Foot = 10_147

§

Mile = 10_148

§

PoundForcePerSquareInch = 10_149

§

KilometrePerHour = 10_150

§

MilePerHour = 10_151

§

RevolutionPerMinute = 10_152

§

GramCalorie = 10_153

§

KilogramCalorie = 10_154

§

KilowattHour = 10_155

§

DegreeFahrenheit = 10_156

§

Percentage = 10_157

§

PerMille = 10_158

§

BeatsPerMinute = 10_159

§

AmpereHours = 10_160

§

MilligramPerDecilitre = 10_161

§

MillimolePerLitre = 10_162

§

Year = 10_163

§

Month = 10_164

§

CountPerCubicMetre = 10_165

§

WattPerSquareMetreIrradiance = 10_166

§

PerKilogramPerMinute = 10_167

§

Pound = 10_168

§

MetabolicEquivalent = 10_169

§

PerMinuteStep = 10_170

§

PerMinuteStroke = 10_172

§

KilometrePerMinute = 10_173

§

LumenPerWatt = 10_174

§

LumenHour = 10_175

§

LuxHour = 10_176

§

GramPerSecond = 10_177

§

LitrePerSecond = 10_178

§

Decibel = 10_179

§

PartsPerMillion = 10_180

§

PartsPerBillion = 10_181

§

MilligramPerDecilitrePerMinute = 10_182

§

KilovoltAmpereHour = 10_183

§

VoltAmpere = 10_184

Trait Implementations§

source§

impl Clone for ChrUnit

source§

fn clone(&self) -> ChrUnit

Returns a copy of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
source§

impl Debug for ChrUnit

source§

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

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

impl From<ChrUnit> for u16

source§

fn from(enum_value: ChrUnit) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ChrUnit

source§

fn eq(&self, other: &ChrUnit) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for ChrUnit

source§

impl Eq for ChrUnit

source§

impl StructuralPartialEq for ChrUnit

Auto Trait Implementations§

§

impl Freeze for ChrUnit

§

impl RefUnwindSafe for ChrUnit

§

impl Send for ChrUnit

§

impl Sync for ChrUnit

§

impl Unpin for ChrUnit

§

impl UnwindSafe for ChrUnit

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Copy,

§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

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

§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

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

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

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

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

§

type Error = Infallible

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

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

Performs the conversion.
§

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

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

Performs the conversion.