[][src]Trait savory_elements::styled_view::Stylable

pub trait Stylable {
    type Style;
    type Styler;
    fn styler(&self) -> Self::Styler;
fn style(&self) -> Self::Style; }

Trait used to define view style and styler with getter functions

Associated Types

type Style

Style used by the view

type Styler

Styler that generate Style according to the view data

Loading content...

Required methods

fn styler(&self) -> Self::Styler

fn style(&self) -> Self::Style

Loading content...

Implementors

impl Stylable for Button[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for Checkbox[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for Dialog[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for Entry[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for HeaderBar[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for Popover[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for ProgressBar[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for Radio[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for SpinEntry[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for Switch[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for Html[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for Url[src]

type Style = Style

type Styler = Styler<Self, Style>

impl Stylable for Label[src]

type Style = Style

type Styler = Styler<Self, Style>

impl<PMsg> Stylable for Icon<PMsg>[src]

type Style = Style

type Styler = Styler<Self, Style>

impl<PMsg> Stylable for Item<PMsg>[src]

type Style = Style

type Styler = Styler<Self, Style>

impl<PMsg> Stylable for Flexbox<PMsg>[src]

type Style = Style

type Styler = Styler<Self, Style>

impl<PMsg> Stylable for Svg<PMsg>[src]

type Style = Style

type Styler = Styler<Self, Style>

Loading content...