Type Alias style::values::computed::ui::Cursor

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

A computed value for the cursor property.

Aliased Type§

struct Cursor {
    pub images: OwnedSlice<GenericCursorImage<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>,
    pub keyword: CursorKind,
}

Fields§

§images: OwnedSlice<GenericCursorImage<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>

The parsed images for the cursor.

§keyword: CursorKind

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