blob: 073d4b5050d84d4590e282bc057c3d9b23263f72 [file] [log] [blame]
// generated by diplomat-tool
import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** An ICU4X Units Converter object, capable of converting between two [`MeasureUnit`]s.
*
*You can create an instance of this object using [`UnitsConverterFactory`] by calling the `converter` method.
*
*See the [Rust documentation for `UnitsConverter`](https://docs.rs/icu/latest/icu/experimental/units/converter/struct.UnitsConverter.html) for more information.
*/
export class UnitsConverter {
get ffiValue(): pointer;
convertNumber(value: number): number;
clone(): UnitsConverter;
}