Skip to main content

CheckedState

Type Alias CheckedState 

Source
pub type CheckedState = Toggled3;
Expand description

Three-state checked state for checkboxes.

This is a type alias to Toggled3 so that the API is semantically self-documenting where the concept of “checked vs toggled” applies.

Aliased Type§

#[repr(u8)]
pub enum CheckedState { False = 0, True = 1, Mixed = 2, }

Variants§

§

False = 0

The control is in the off / unchecked state.

§

True = 1

The control is in the on / checked state.

§

Mixed = 2

The control is in the indeterminate / mixed state (tri-state).