Skip to main content

ScrollbarColor

Type Alias ScrollbarColor 

Source
pub type ScrollbarColor = ScrollbarColor<Color>;
Expand description

A specified value for scrollbar-color property

Aliased Type§

#[repr(C, u8)]
pub enum ScrollbarColor { Auto, Colors { thumb: Color, track: Color, }, }

Variants§

§

Auto

auto

§

Colors

<color>{2}

Fields

§thumb: Color

First <color>, for color of the scrollbar thumb.

§track: Color

Second <color>, for color of the scrollbar track.

Trait Implementations§

Source§

impl Parse for ScrollbarColor

Source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more