pub type CrossFade = CrossFade<Image, Color, Percentage>;
Expand description
Computed values for CSS cross-fade https://drafts.csswg.org/css-images-4/#cross-fade-function
Aliased Type§
struct CrossFade {
pub elements: OwnedSlice<GenericCrossFadeElement<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, GenericColor<Percentage>, Percentage>>,
}
Fields§
§elements: OwnedSlice<GenericCrossFadeElement<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, GenericColor<Percentage>, Percentage>>
All of the image percent pairings passed as arguments to cross-fade.