Trait IStylesStorage

Source
pub trait IStylesStorage {
    // Required methods
    fn has_rule(&self, name: String) -> bool;
    fn add_rule(&mut self, name: String, styles: Style) -> &mut Self;
    fn get_rule(&self, name: String) -> Style;
}

Required Methods§

Source

fn has_rule(&self, name: String) -> bool

Source

fn add_rule(&mut self, name: String, styles: Style) -> &mut Self

Source

fn get_rule(&self, name: String) -> Style

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.

Implementors§