MeasureUnit.d.ts (593B)
1 // generated by diplomat-tool 2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5 /** 6 * An ICU4X Measurement Unit object which represents a single unit of measurement 7 * such as `meter`, `second`, `kilometer-per-hour`, `square-meter`, etc. 8 * 9 * You can create an instance of this object using [`MeasureUnitParser`] by calling the `parse` method. 10 * 11 * See the [Rust documentation for `MeasureUnit`](https://docs.rs/icu/latest/icu/experimental/measure/measureunit/struct.MeasureUnit.html) for more information. 12 */ 13 14 15 export class MeasureUnit { 16 get ffiValue(): pointer; 17 18 }