Type Alias style::properties_and_values::value::ComputedValueComponent

source ·
pub type ComputedValueComponent = GenericValueComponent<Length, Number, Percentage, LengthPercentage, Color, Image, ComputedUrl, Integer, Angle, Time, Resolution, Transform>;
Expand description

A single component of the computed value.

Aliased Type§

enum ComputedValueComponent {
Show 15 variants Length(CSSPixelLength), Number(f32), Percentage(Percentage), LengthPercentage(LengthPercentage), Color(GenericColor<Percentage>), Image(GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>), Url(ComputedUrl), Integer(i32), Angle(Angle), Time(Time), Resolution(Resolution), TransformFunction(GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>), CustomIdent(CustomIdent), TransformList(ComponentList<GenericValueComponent<CSSPixelLength, f32, Percentage, LengthPercentage, GenericColor<Percentage>, GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<CSSPixelLength>, NonNegative<LengthPercentage>, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, ComputedUrl, i32, Angle, Time, Resolution, GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>>>), String(OwnedStr),
}

Variants§