Trait rcss::ScopeCommon

source ·
pub trait ScopeCommon {
    const SCOPE_ID: &'static str;
    const STYLE: &'static str;

    // Provided method
    fn scope_style(&self) -> &'static str { ... }
}

Required Associated Constants§

source

const SCOPE_ID: &'static str

Scope that was defined in basic object.

source

const STYLE: &'static str

Scope style that was defined in basic object. It should contain valid css style. Note: It can be empty, if any root crate uses rcss-bundler and sets metadata.rcss.disable-styles = true.

Provided Methods§

source

fn scope_style(&self) -> &'static str

Object Safety§

This trait is not object safe.

Implementors§