Home
last modified time | relevance | path

Searched defs:NamedUnit (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/fend-core-1.4.6/src/num/unit/
H A Dnamed_unit.rs12 pub(crate) struct NamedUnit { struct
13 prefix: Cow<'static, str>,
14 pub(super) singular_name: Cow<'static, str>,
15 plural_name: Cow<'static, str>,
16 alias: bool,
17 pub(super) base_units: HashMap<BaseUnit, Complex>,
18 pub(super) scale: Complex,
42 impl NamedUnit { impl
172 impl fmt::Debug for NamedUnit { implementation
H A Dunit_exponent.rs19 pub(crate) fn new(unit: NamedUnit, exponent: impl Into<Complex>) -> Self { in new()