Unit

enum Unit : Enum<Distance.Unit>

The unit of a distance's value.

Entries

Link copied to clipboard
MILE("mi", )

Describes a distance in miles.

Link copied to clipboard
YARD("yd", )

Describes a distance in yards.

Link copied to clipboard
FOOT("ft", )

Describes a distance in feet.

Link copied to clipboard
INCH("", )

Describes a distance in inches.

Link copied to clipboard
KILOMETER("km", )

Describes a distance in kilometers.

Link copied to clipboard
METER("m", )

Describes a distance in meters.

Link copied to clipboard
CENTIMETER("cm", )

Describes a distance in centimeters.

Link copied to clipboard
MILLIMETER("mm", )

Describes a distance in millimeters.

Inherited properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int