pub fn SegmentedButton(
selected: &[usize],
segments: Vec<SegmentConfig>,
config: SegmentedButtonConfig,
) -> ViewExpand description
M3 Segmented Button - a row of toggle segments. selected contains the
indices of selected segments (single-select: pass a single-element set).
Each segment is shaped independently: first has rounded left corners,
last has rounded right corners, middle segments are rectangular.