class Unit

Defined at line 4640 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

Describes a given unit by giving the unit and the unit's exponent.

E.g: Nanometers would have type METERS and exponent -9.

Public Members

UnitType type
int32_t exponent

Public Methods

::std::unique_ptr<Unit> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Unit * value, size_t _offset)
zx_status_t Clone (Unit * result)