Skip to main content

SvgThemeExt

Trait SvgThemeExt 

Source
pub trait SvgThemeExt {
    // Required methods
    fn theme_color(self) -> Self;
    fn theme_accent_color(self) -> Self;
    fn theme_fill(self) -> Self;
    fn theme_stroke(self) -> Self;
    fn theme_accent_fill(self) -> Self;
    fn theme_accent_stroke(self) -> Self;
}

Required Methods§

Source

fn theme_color(self) -> Self

Source

fn theme_accent_color(self) -> Self

Source

fn theme_fill(self) -> Self

Source

fn theme_stroke(self) -> Self

Source

fn theme_accent_fill(self) -> Self

Source

fn theme_accent_stroke(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SvgThemeExt for Svg

Source§

fn theme_color(self) -> Self

Source§

fn theme_accent_color(self) -> Self

Source§

fn theme_fill(self) -> Self

Source§

fn theme_stroke(self) -> Self

Source§

fn theme_accent_fill(self) -> Self

Source§

fn theme_accent_stroke(self) -> Self

Implementors§