Skip to main content

segmented

Function segmented 

Source
pub fn segmented<T: PartialEq + Clone + 'static>(
    value: &Signal<T>,
    options: Vec<(&str, T)>,
) -> Segmented<T>
Expand description

A segmented control bound two ways to value, one segment per option (title, value). VoiceOver reads each segment’s title.