Trait FromSpecified

Source
pub trait FromSpecified: SpecifiedValue {
    // Required method
    fn from_specified(
        specified: &Self::SpecifiedValue,
        context: &CascadeContext<'_>,
    ) -> Self;
}

Required Methods§

Source

fn from_specified( specified: &Self::SpecifiedValue, context: &CascadeContext<'_>, ) -> 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 FromSpecified for Color

Source§

fn from_specified(specified: &Self, _: &CascadeContext<'_>) -> Self

Source§

impl FromSpecified for RGBA

Source§

fn from_specified(specified: &Color, context: &CascadeContext<'_>) -> Self

Implementors§