Trait StyleSheet

Source
pub trait StyleSheet {
    type Style: Default;

    // Required methods
    fn horizontal(&self, style: &Self::Style) -> Appearance;
    fn vertical(&self, style: &Self::Style) -> Appearance;
}
Expand description

Defines the Appearance of a segmented button.

Required Associated Types§

Source

type Style: Default

The supported style of the StyleSheet.

Required Methods§

Source

fn horizontal(&self, style: &Self::Style) -> Appearance

The horizontal Appearance of the segmented button.

Source

fn vertical(&self, style: &Self::Style) -> Appearance

The vertical Appearance of the segmented button.

Implementors§