Skip to main content

SegmentedButton

Function SegmentedButton 

Source
pub fn SegmentedButton<State: 'static, T: PartialEq + Clone + 'static, F: Fn(&mut State, Vec<T>) + 'static>(
    segments: impl IntoIterator<Item = Segment<T>>,
    selected: impl IntoIterator<Item = T>,
    on_selection_changed: F,
) -> SegmentedButtonView<State, T>
Expand description

PascalCase alias for segmented_button, matching this catalog’s view-fn vocabulary.