Package-level declarations

Types

Link copied to clipboard

A quantity describing an angle. (For example, 90 degrees.)

Link copied to clipboard

A quantity describing a distance. (For example, 10 kilometers.)

Link copied to clipboard

A type alias for Force quantity used for describing EV cars.

Link copied to clipboard

A quantity describing an electric current. (For example, 10 amperes.)

Link copied to clipboard

A quantity describing energy. (For example, 10 kilowatt-hours.)

Link copied to clipboard

A quantity describing energy density. (For example, 4.5 megajoules per liter.)

Link copied to clipboard

A quantity describing force. (For example, 10 newtons.)

Link copied to clipboard

A quantity describing fuel consumption. (For example, 5 liters per 100 kilometers.)

Link copied to clipboard

A quantity describing fuel consumption over time. (For example, 0.5 liters per hour.)

Link copied to clipboard

A quantity describing memory size. (for example, 16 kilobytes.)

Link copied to clipboard

A quantity describing power. (For example, 10 kilowatts.)

Link copied to clipboard
typealias Probability = Ratio

A type alias for Ratio quantity used for describing probabilities.

Link copied to clipboard

A base interface for quantities. Outlines the common operations to retrieve values and perform mathematical operations.

Link copied to clipboard

A quantity describing a ratio, also commonly used for probabilities. (For example, 10%.)

Link copied to clipboard

A quantity describing speed. (For example, 10 kilometers per hour.)

Link copied to clipboard
interface UnitBase

The contract interface for all Quantity unit types.

Link copied to clipboard

A quantity describing voltage. (For example, 10 volts.)

Link copied to clipboard

A quantity describing Volume. (For example, 10 liters.)

Link copied to clipboard

A quantity describing weight. (For example, 10 kilograms.)