Skip to content

Struct ui::ActionRow

zaun_client::ui::ActionRow · Struct

pub struct ActionRow(…)

A row of up to five buttons, or one select.

pub fn new() -> Self

An empty row.

pub fn buttons<impl IntoIterator<Item = Button>>(buttons: impl IntoIterator<Item = Button>) -> Self

A row of buttons.

pub fn select(select: Select) -> Self

A row holding one select.

pub fn button(self, button: Button) -> Self

Adds a button.

pub fn build(self) -> Component

The component.

Clone, Debug, Default, Eq, PartialEq, StructuralPartialEq

Full rustdoc page