template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1109 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_types.h

Public Methods

::fuchsia_ui_composition::wire::ViewportProperties Build ()

Build and return the table. The builder should not be used after this.

bool has_logical_size ()
void clear_logical_size ()

Clears the logical_size field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_math::wire::SizeU & logical_size ()

The size of the Viewport in logical pixels. This maps directly to the logical_size field in

LayoutInfo. The valid logical_size must have positive X and Y components.

BuilderImpl & logical_size (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_math::wire::SizeU>> elem)

The size of the Viewport in logical pixels. This maps directly to the logical_size field in

LayoutInfo. The valid logical_size must have positive X and Y components.

bool has_inset ()
void clear_inset ()

Clears the inset field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_math::wire::Inset & inset ()

The offsets between the edges and the visible rectangle of the Viewport. This maps directly

to the `inset` field in LayoutInfo. The valid inset must have all components greater than or

equal to 0.

BuilderImpl & inset (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_math::wire::Inset>> elem)

The offsets between the edges and the visible rectangle of the Viewport. This maps directly

to the `inset` field in LayoutInfo. The valid inset must have all components greater than or

equal to 0.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_ui_composition::wire::ViewportProperties, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_composition::wire::ViewportProperties>> && frame)

Records