Trait iced::widget::svg::StyleSheet
pub trait StyleSheet {
type Style: Default;
fn appearance(&self, style: &Self::Style) -> Appearance;
}
Available on crate feature
svg
only.Expand description
The stylesheet of a svg.
Required Associated Types§
type Style: Default
type Style: Default
The supported style of the StyleSheet
.
Required Methods§
fn appearance(&self, style: &Self::Style) -> Appearance
fn appearance(&self, style: &Self::Style) -> Appearance
Produces the Appearance
of the svg.