Type Alias style::values::computed::color::CaretColor

source ·
pub type CaretColor = GenericCaretColor<Color>;
Expand description

caret-color

Aliased Type§

struct CaretColor(pub GenericColorOrAuto<GenericColor<Percentage>>);

Fields§

§0: GenericColorOrAuto<GenericColor<Percentage>>

Trait Implementations§

source§

impl ToResolvedValue for CaretColor

§

type ResolvedValue = AbsoluteColor

The resolved value type we’re going to be converted to.
source§

fn to_resolved_value(self, context: &Context<'_>) -> Self::ResolvedValue

Convert a resolved value to a resolved value.
source§

fn from_resolved_value(resolved: Self::ResolvedValue) -> Self

Convert a resolved value to resolved value form.