pub struct ComputedValues {
Show 66 fields baseline_shift: BaselineShift, clip_path: ClipPath, clip_rule: ClipRule, color: Color, color_interpolation_filters: ColorInterpolationFilters, cx: CX, cy: CY, direction: Direction, display: Display, enable_background: EnableBackground, fill: Fill, fill_opacity: FillOpacity, fill_rule: FillRule, filter: Filter, flood_color: FloodColor, flood_opacity: FloodOpacity, font_family: FontFamily, font_size: FontSize, font_stretch: FontStretch, font_style: FontStyle, font_variant: FontVariant, font_weight: FontWeight, glyph_orientation_vertical: GlyphOrientationVertical, height: Height, letter_spacing: LetterSpacing, lighting_color: LightingColor, marker_end: MarkerEnd, marker_mid: MarkerMid, marker_start: MarkerStart, mask: Mask, opacity: Opacity, overflow: Overflow, r: R, rx: RX, ry: RY, shape_rendering: ShapeRendering, stop_color: StopColor, stop_opacity: StopOpacity, stroke: Stroke, stroke_dasharray: StrokeDasharray, stroke_dashoffset: StrokeDashoffset, stroke_line_cap: StrokeLinecap, stroke_line_join: StrokeLinejoin, stroke_miterlimit: StrokeMiterlimit, stroke_opacity: StrokeOpacity, stroke_width: StrokeWidth, text_anchor: TextAnchor, text_decoration: TextDecoration, text_rendering: TextRendering, transform_property: TransformProperty, unicode_bidi: UnicodeBidi, visibility: Visibility, width: Width, writing_mode: WritingMode, x: X, y: Y, isolation: Isolation, line_height: LineHeight, mask_type: MaskType, mix_blend_mode: MixBlendMode, paint_order: PaintOrder, text_orientation: TextOrientation, vector_effect: VectorEffect, xml_lang: XmlLang, xml_space: XmlSpace, transform: Transform,
Expand description

Holds the computed values for the CSS properties of an element.


§baseline_shift: BaselineShift§clip_path: ClipPath§clip_rule: ClipRule§color: Color§color_interpolation_filters: ColorInterpolationFilters§cx: CX§cy: CY§direction: Direction§display: Display§enable_background: EnableBackground§fill: Fill§fill_opacity: FillOpacity§fill_rule: FillRule§filter: Filter§flood_color: FloodColor§flood_opacity: FloodOpacity§font_family: FontFamily§font_size: FontSize§font_stretch: FontStretch§font_style: FontStyle§font_variant: FontVariant§font_weight: FontWeight§glyph_orientation_vertical: GlyphOrientationVertical§height: Height§letter_spacing: LetterSpacing§lighting_color: LightingColor§marker_end: MarkerEnd§marker_mid: MarkerMid§marker_start: MarkerStart§mask: Mask§opacity: Opacity§overflow: Overflow§r: R§rx: RX§ry: RY§shape_rendering: ShapeRendering§stop_color: StopColor§stop_opacity: StopOpacity§stroke: Stroke§stroke_dasharray: StrokeDasharray§stroke_dashoffset: StrokeDashoffset§stroke_line_cap: StrokeLinecap§stroke_line_join: StrokeLinejoin§stroke_miterlimit: StrokeMiterlimit§stroke_opacity: StrokeOpacity§stroke_width: StrokeWidth§text_anchor: TextAnchor§text_decoration: TextDecoration§text_rendering: TextRendering§transform_property: TransformProperty§unicode_bidi: UnicodeBidi§visibility: Visibility§width: Width§writing_mode: WritingMode§x: X§y: Y§isolation: Isolation§line_height: LineHeight§mask_type: MaskType§mix_blend_mode: MixBlendMode§paint_order: PaintOrder§text_orientation: TextOrientation§vector_effect: VectorEffect§xml_lang: XmlLang§xml_space: XmlSpace§transform: Transform


Whether we should draw the element or skip both space allocation and drawing.

Whether we should draw the element or allocate its space but skip drawing.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Checks if self is actually part of its subset T (and can be converted to it).
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
The inclusion map: converts self to the equivalent element of its superset.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.