template <typename ValueT, typename FidlT>
struct DefaultIdTypeTraits
Defined at line 25 of file ../../src/graphics/display/lib/api-types/cpp/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 131 of file ../../src/graphics/display/lib/api-types/cpp/id-type.h
FidlType ToFidl (const ValueType & value)
Converts from the underlying type to the FIDL wire type.
Defined at line 140 of file ../../src/graphics/display/lib/api-types/cpp/id-type.h