• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
3
4
5/** An ICU4X Units Converter object, capable of converting between two [`MeasureUnit`]s.
6*
7*You can create an instance of this object using [`UnitsConverterFactory`] by calling the `converter` method.
8*
9*See the [Rust documentation for `UnitsConverter`](https://docs.rs/icu/latest/icu/experimental/units/converter/struct.UnitsConverter.html) for more information.
10*/
11
12
13export class UnitsConverter {
14
15    get ffiValue(): pointer;
16
17    convertNumber(value: number): number;
18
19    clone(): UnitsConverter;
20}