Type Alias Cursor

Source
pub type Cursor = GenericCursor<CursorImage>;
Expand description

A computed value for the cursor property.

Aliased Type§

#[repr(C)]
pub 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 | …].