Quantity.this

Creates a new quantity from another one with the same dimensions

  1. this(Q qty)
    struct Quantity(N, alias unitSpec)
    this
    (
    Q
    )
    (
    auto ref const Q qty
    )
  2. this(Q qty)
  3. this(T scalar)

Meta