template <typename ValueT, typename FidlT>

struct DefaultIdTypeTraitsForWireFidl

Defined at line 83 of file ../../src/ui/scenic/lib/types/id_type.h

`IdType` traits implementation that works for most display types.

`ValueT` is the underlying type for the integer ID. Only C++ integer types are

supported.

`FidlT` is the FIDL type used to represent IDs. It must be a wire type for a

FIDL struct whose `value` member is the same integer type as `ValueT`.

Public Methods

ValueType FromFidl (const FidlType & fidl_value)

Converts from the FIDL wire type to the underlying type.

Defined at line 91 of file ../../src/ui/scenic/lib/types/id_type.h

FidlType ToFidl (const ValueType & value)

Converts from the underlying type to the FIDL wire type.

Defined at line 100 of file ../../src/ui/scenic/lib/types/id_type.h