class Unit
Defined at line 4664 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)