class DetachCmd

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

Detaches a parentable object from its parent (e.g. a node from a parent node,

or a layer from a layer stack). It is illegal to apply this command to a

non-parentable object. No-op if the target object currently has no parent.

Constraints:

- `id` refs a parentable object

Discussion:

For nodes, this command will detach a node from its parent, regardless of

whether it is a part or a child of its parent.

Public Members

uint32_t id

Public Methods

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