Type Alias style::values::specified::ui::Cursor

source ·
pub type Cursor = GenericCursor<CursorImage>;
Expand description

A specified value for the cursor property.

Aliased Type§

struct Cursor {
    pub images: OwnedSlice<GenericCursorImage<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<Length>, NonNegative<LengthPercentage>, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>, Number>>,
    pub keyword: CursorKind,
}

Fields§

§images: OwnedSlice<GenericCursorImage<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<Length>, NonNegative<LengthPercentage>, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>, Number>>

The parsed images for the cursor.

§keyword: CursorKind

The kind of the cursor [default | help | …].

Trait Implementations§

source§

impl Parse for Cursor

source§

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

cursor: [ [ ]?]# [auto | default | …]