BaseUnit

coulomb.define.BaseUnit
See theBaseUnit companion object
abstract class BaseUnit[U, Name, Abbv] extends NamedUnit[Name, Abbv]

Attributes

Abbv

unit abbreviation

import coulomb.define.*
// define a unit of spicy heat
type Scoville
given unit_Scoville: BaseUnit[Scoville, "scoville", "sco"] = BaseUnit()
Name

unit name

U

unit type

Companion:
object
Source:
define.scala
Graph
Supertypes
class NamedUnit[Name, Abbv]
class Object
trait Matchable
class Any
Known subtypes
class NC[U, Name, Abbv]

Members list

Concise view