Type Alias style::properties_and_values::value::SpecifiedValueComponent
source · pub type SpecifiedValueComponent = GenericValueComponent<Length, Number, Percentage, LengthPercentage, Color, Image, SpecifiedUrl, Integer, Angle, Time, Resolution, Transform>;
Expand description
A single component of the specified value.
Aliased Type§
enum SpecifiedValueComponent {
Show 15 variants
Length(Length),
Number(Number),
Percentage(Percentage),
LengthPercentage(LengthPercentage),
Color(Color),
Image(GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<Length>, NonNegative<LengthPercentage>, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>),
Url(CssUrl),
Integer(Integer),
Angle(Angle),
Time(Time),
Resolution(Resolution),
TransformFunction(GenericTransform<GenericTransformOperation<Angle, Number, Length, Integer, LengthPercentage>>),
CustomIdent(CustomIdent),
TransformList(ComponentList<GenericValueComponent<Length, Number, Percentage, LengthPercentage, Color, GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<Length>, NonNegative<LengthPercentage>, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>, CssUrl, Integer, Angle, Time, Resolution, GenericTransform<GenericTransformOperation<Angle, Number, Length, Integer, LengthPercentage>>>>),
String(OwnedStr),
}
Variants§
Length(Length)
A
Number(Number)
A
Percentage(Percentage)
A
LengthPercentage(LengthPercentage)
A
Color(Color)
A
Image(GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<Length>, NonNegative<LengthPercentage>, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>)
An
Url(CssUrl)
A
Integer(Integer)
An
Angle(Angle)
An
Time(Time)
A
Resolution(Resolution)
A
TransformFunction(GenericTransform<GenericTransformOperation<Angle, Number, Length, Integer, LengthPercentage>>)
A none
should not interpolate.
CustomIdent(CustomIdent)
A
TransformList(ComponentList<GenericValueComponent<Length, Number, Percentage, LengthPercentage, Color, GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<Length>, NonNegative<LengthPercentage>, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>, CssUrl, Integer, Angle, Time, Resolution, GenericTransform<GenericTransformOperation<Angle, Number, Length, Integer, LengthPercentage>>>>)
A none
should not interpolate.
String(OwnedStr)
A