Trait iced::widget::qr_code::StyleSheet
pub trait StyleSheet {
type Style: Default;
// Required method
fn appearance(&self, style: &Self::Style) -> Appearance;
}
Available on crate feature
qr_code
only.Expand description
A set of rules that dictate the style of a QR code.
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 style of a QR code.