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§
Sourcetype Style: Default
type Style: Default
The supported style of the StyleSheet.
Required Methods§
Sourcefn horizontal(&self, style: &Self::Style) -> Appearance
fn horizontal(&self, style: &Self::Style) -> Appearance
The horizontal Appearance of the segmented button.
Sourcefn vertical(&self, style: &Self::Style) -> Appearance
fn vertical(&self, style: &Self::Style) -> Appearance
The vertical Appearance of the segmented button.