pub struct State {Show 17 fields
pub disabled: Option<bool>,
pub focused: Option<bool>,
pub selected: Option<bool>,
pub checked: Option<Checked>,
pub expanded: Option<bool>,
pub modal: Option<bool>,
pub busy: Option<bool>,
pub hidden: Option<bool>,
pub offscreen: Option<bool>,
pub readonly: Option<bool>,
pub multiline: Option<bool>,
pub required: Option<bool>,
pub multiselectable: Option<bool>,
pub orientation: Option<Orientation>,
pub level: Option<i64>,
pub position_in_set: Option<i64>,
pub set_size: Option<i64>,
}Expand description
The closed state set. None means “not asserted”, not “false”.
Fields§
§disabled: Option<bool>The control refuses interaction.
focused: Option<bool>Keyboard input goes here.
selected: Option<bool>The node is selected within its parent set.
checked: Option<Checked>Checked, unchecked, or mixed.
expanded: Option<bool>A disclosure is open.
modal: Option<bool>The node traps interaction while it is present.
busy: Option<bool>Content is being loaded or recomputed.
Present in the tree but not painted.
offscreen: Option<bool>Every cell is outside the visible area — scrolled away, not
undisplayed. Implies State::hidden; the pair without it is refused
by validation.
readonly: Option<bool>Value is displayed but cannot be edited.
multiline: Option<bool>The text control accepts newlines.
required: Option<bool>The control requires a value or selection before submission.
multiselectable: Option<bool>The composite permits more than one selected descendant.
orientation: Option<Orientation>Layout direction of a composite widget.
level: Option<i64>Heading or tree depth, starting at 1.
position_in_set: Option<i64>One-based position among siblings.
set_size: Option<i64>Number of siblings in the set.