class SetLabelCmd

Defined at line 1323 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.h

Sets/clears a label to help developers identify the purpose of the resource

when using diagnostic tools.

The label serves no functional purpose in the scene graph. It exists only

to help developers understand its structure. The scene manager may truncate

or discard labels at will.

Constraints:

- The label's maximum length is `kLabelMaxLength` characters.

- Setting the label to an empty string clears it.

Public Members

uint32_t id
basic_string label

Public Methods

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