Skip to main content

UnitType

Type Alias UnitType 

Source
pub type UnitType = UnitType;

Aliased Type§

pub enum UnitType {
Show 13 variants None, Other, Meters, Grams, Degrees, EnglishAngularVelocity, SiLinearVelocity, SiLinearAcceleration, Webers, Candelas, Pascals, Lux, Seconds, // some variants omitted
}

Variants§

§

None

The device did not specify units.

§

Other

The device specified units that are not convertible to any of the other units.

§

Meters

A measurement of distance in meters.

§

Grams

A measurement of mass in grams.

§

Degrees

A measurement of rotation in degrees.

§

EnglishAngularVelocity

A measurement of angular velocity in degrees per second.

§

SiLinearVelocity

A measurement of linear velocity in meters per second.

§

SiLinearAcceleration

A measurement of acceleration in meters per second squared.

§

Webers

A measure of magnetic flux in webers.

§

Candelas

A measurement of luminous intensity in candelas.

§

Pascals

A measurement of pressure in pascals.

§

Lux

A measurement of luminous flux in lumens per meter squared.

§

Seconds

A measurement of seconds.