pub type ImageSet = GenericImageSet<Image, Resolution>;
Expand description
The computed value for an image-set()
image.
Aliased Type§
struct ImageSet {
pub selected_index: usize,
pub items: OwnedSlice<GenericImageSetItem<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, Resolution>>,
}
Fields§
§selected_index: usize
The index of the selected candidate. usize::MAX for specified values or invalid images.
items: OwnedSlice<GenericImageSetItem<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, Resolution>>
All of the image and resolution pairs.