BaseUnit

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

Type parameters

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

Attributes

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