pub struct ComputedStyles { /* private fields */ }Expand description
The struct that Servo uses to represent computed values.
This struct contains an immutable atomically-reference-counted pointer to every kind of style struct.
When needed, the structs may be copied in order to get mutated.
Implementations§
Source§impl ComputedValues
impl ComputedValues
Sourcepub fn pseudo(&self) -> Option<PseudoElement>
pub fn pseudo(&self) -> Option<PseudoElement>
Returns the pseudo-element that this style represents.
Sourcepub fn is_pseudo_style(&self) -> bool
pub fn is_pseudo_style(&self) -> bool
Returns true if this is the style for a pseudo-element.
Sourcepub fn is_display_contents(&self) -> bool
pub fn is_display_contents(&self) -> bool
Returns whether this style’s display value is equal to contents.
Sourcepub fn rules(&self) -> &StrongRuleNode
pub fn rules(&self) -> &StrongRuleNode
Gets a reference to the rule node. Panic if no rule node exists.
Sourcepub fn visited_rules(&self) -> Option<&StrongRuleNode>
pub fn visited_rules(&self) -> Option<&StrongRuleNode>
Returns the visited rules, if applicable.
Sourcepub fn custom_properties(&self) -> &ComputedCustomProperties
pub fn custom_properties(&self) -> &ComputedCustomProperties
Gets a reference to the custom properties map (if one exists).
Sourcepub fn get_align_items(&self) -> &ItemPlacement
pub fn get_align_items(&self) -> &ItemPlacement
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_align_items(&self) -> ItemPlacement
pub fn slow_clone_align_items(&self) -> ItemPlacement
Clones the computed value of a given property. Prefer get_align_items
where a reference is enough.
Sourcepub fn align_items_equals(&self, other: &ComputedValues) -> bool
pub fn align_items_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_alignment_baseline(&self) -> &AlignmentBaseline
pub fn get_alignment_baseline(&self) -> &AlignmentBaseline
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_alignment_baseline(&self) -> AlignmentBaseline
pub fn slow_clone_alignment_baseline(&self) -> AlignmentBaseline
Clones the computed value of a given property. Prefer get_alignment_baseline
where a reference is enough.
Sourcepub fn alignment_baseline_equals(&self, other: &ComputedValues) -> bool
pub fn alignment_baseline_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_backface_visibility(&self) -> &BackfaceVisibility
pub fn get_backface_visibility(&self) -> &BackfaceVisibility
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_backface_visibility(&self) -> BackfaceVisibility
pub fn slow_clone_backface_visibility(&self) -> BackfaceVisibility
Clones the computed value of a given property. Prefer get_backface_visibility
where a reference is enough.
Sourcepub fn backface_visibility_equals(&self, other: &ComputedValues) -> bool
pub fn backface_visibility_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_baseline_source(&self) -> &BaselineSource
pub fn get_baseline_source(&self) -> &BaselineSource
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_baseline_source(&self) -> BaselineSource
pub fn slow_clone_baseline_source(&self) -> BaselineSource
Clones the computed value of a given property. Prefer get_baseline_source
where a reference is enough.
Sourcepub fn baseline_source_equals(&self, other: &ComputedValues) -> bool
pub fn baseline_source_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_collapse(&self) -> &BorderCollapse
pub fn get_border_collapse(&self) -> &BorderCollapse
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_collapse(&self) -> BorderCollapse
pub fn slow_clone_border_collapse(&self) -> BorderCollapse
Clones the computed value of a given property. Prefer get_border_collapse
where a reference is enough.
Sourcepub fn border_collapse_equals(&self, other: &ComputedValues) -> bool
pub fn border_collapse_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_repeat(&self) -> &BorderImageRepeat
pub fn get_border_image_repeat(&self) -> &BorderImageRepeat
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_repeat(&self) -> BorderImageRepeat
pub fn slow_clone_border_image_repeat(&self) -> BorderImageRepeat
Clones the computed value of a given property. Prefer get_border_image_repeat
where a reference is enough.
Sourcepub fn border_image_repeat_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_repeat_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_box_decoration_break(&self) -> &BoxDecorationBreak
pub fn get_box_decoration_break(&self) -> &BoxDecorationBreak
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_box_decoration_break(&self) -> BoxDecorationBreak
pub fn slow_clone_box_decoration_break(&self) -> BoxDecorationBreak
Clones the computed value of a given property. Prefer get_box_decoration_break
where a reference is enough.
Sourcepub fn box_decoration_break_equals(&self, other: &ComputedValues) -> bool
pub fn box_decoration_break_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_box_sizing(&self) -> &BoxSizing
pub fn get_box_sizing(&self) -> &BoxSizing
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_box_sizing(&self) -> BoxSizing
pub fn slow_clone_box_sizing(&self) -> BoxSizing
Clones the computed value of a given property. Prefer get_box_sizing
where a reference is enough.
Sourcepub fn box_sizing_equals(&self, other: &ComputedValues) -> bool
pub fn box_sizing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_caption_side(&self) -> &CaptionSide
pub fn get_caption_side(&self) -> &CaptionSide
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_caption_side(&self) -> CaptionSide
pub fn slow_clone_caption_side(&self) -> CaptionSide
Clones the computed value of a given property. Prefer get_caption_side
where a reference is enough.
Sourcepub fn caption_side_equals(&self, other: &ComputedValues) -> bool
pub fn caption_side_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_clear(&self) -> Clear
pub fn slow_clone_clear(&self) -> Clear
Clones the computed value of a given property. Prefer get_clear
where a reference is enough.
Sourcepub fn clear_equals(&self, other: &ComputedValues) -> bool
pub fn clear_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_column_span(&self) -> &ColumnSpan
pub fn get_column_span(&self) -> &ColumnSpan
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_column_span(&self) -> ColumnSpan
pub fn slow_clone_column_span(&self) -> ColumnSpan
Clones the computed value of a given property. Prefer get_column_span
where a reference is enough.
Sourcepub fn column_span_equals(&self, other: &ComputedValues) -> bool
pub fn column_span_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_contain(&self) -> &Contain
pub fn get_contain(&self) -> &Contain
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_contain(&self) -> Contain
pub fn slow_clone_contain(&self) -> Contain
Clones the computed value of a given property. Prefer get_contain
where a reference is enough.
Sourcepub fn contain_equals(&self, other: &ComputedValues) -> bool
pub fn contain_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_container_type(&self) -> &ContainerType
pub fn get_container_type(&self) -> &ContainerType
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_container_type(&self) -> ContainerType
pub fn slow_clone_container_type(&self) -> ContainerType
Clones the computed value of a given property. Prefer get_container_type
where a reference is enough.
Sourcepub fn container_type_equals(&self, other: &ComputedValues) -> bool
pub fn container_type_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_direction(&self) -> &DirectionProperty
pub fn get_direction(&self) -> &DirectionProperty
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_direction(&self) -> DirectionProperty
pub fn slow_clone_direction(&self) -> DirectionProperty
Clones the computed value of a given property. Prefer get_direction
where a reference is enough.
Sourcepub fn direction_equals(&self, other: &ComputedValues) -> bool
pub fn direction_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_display(&self) -> &Display
pub fn get_display(&self) -> &Display
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_display(&self) -> Display
pub fn slow_clone_display(&self) -> Display
Clones the computed value of a given property. Prefer get_display
where a reference is enough.
Sourcepub fn display_equals(&self, other: &ComputedValues) -> bool
pub fn display_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_dominant_baseline(&self) -> &DominantBaseline
pub fn get_dominant_baseline(&self) -> &DominantBaseline
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_dominant_baseline(&self) -> DominantBaseline
pub fn slow_clone_dominant_baseline(&self) -> DominantBaseline
Clones the computed value of a given property. Prefer get_dominant_baseline
where a reference is enough.
Sourcepub fn dominant_baseline_equals(&self, other: &ComputedValues) -> bool
pub fn dominant_baseline_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_empty_cells(&self) -> &EmptyCells
pub fn get_empty_cells(&self) -> &EmptyCells
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_empty_cells(&self) -> EmptyCells
pub fn slow_clone_empty_cells(&self) -> EmptyCells
Clones the computed value of a given property. Prefer get_empty_cells
where a reference is enough.
Sourcepub fn empty_cells_equals(&self, other: &ComputedValues) -> bool
pub fn empty_cells_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_fill_rule(&self) -> &FillRule
pub fn get_fill_rule(&self) -> &FillRule
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_fill_rule(&self) -> FillRule
pub fn slow_clone_fill_rule(&self) -> FillRule
Clones the computed value of a given property. Prefer get_fill_rule
where a reference is enough.
Sourcepub fn fill_rule_equals(&self, other: &ComputedValues) -> bool
pub fn fill_rule_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_direction(&self) -> &FlexDirection
pub fn get_flex_direction(&self) -> &FlexDirection
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_direction(&self) -> FlexDirection
pub fn slow_clone_flex_direction(&self) -> FlexDirection
Clones the computed value of a given property. Prefer get_flex_direction
where a reference is enough.
Sourcepub fn flex_direction_equals(&self, other: &ComputedValues) -> bool
pub fn flex_direction_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_wrap(&self) -> &FlexWrap
pub fn get_flex_wrap(&self) -> &FlexWrap
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_wrap(&self) -> FlexWrap
pub fn slow_clone_flex_wrap(&self) -> FlexWrap
Clones the computed value of a given property. Prefer get_flex_wrap
where a reference is enough.
Sourcepub fn flex_wrap_equals(&self, other: &ComputedValues) -> bool
pub fn flex_wrap_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_float(&self) -> Float
pub fn slow_clone_float(&self) -> Float
Clones the computed value of a given property. Prefer get_float
where a reference is enough.
Sourcepub fn float_equals(&self, other: &ComputedValues) -> bool
pub fn float_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_kerning(&self) -> &FontKerning
pub fn get_font_kerning(&self) -> &FontKerning
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_kerning(&self) -> FontKerning
pub fn slow_clone_font_kerning(&self) -> FontKerning
Clones the computed value of a given property. Prefer get_font_kerning
where a reference is enough.
Sourcepub fn font_kerning_equals(&self, other: &ComputedValues) -> bool
pub fn font_kerning_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_language_override(&self) -> &FontLanguageOverride
pub fn get_font_language_override(&self) -> &FontLanguageOverride
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_language_override(&self) -> FontLanguageOverride
pub fn slow_clone_font_language_override(&self) -> FontLanguageOverride
Clones the computed value of a given property. Prefer get_font_language_override
where a reference is enough.
Sourcepub fn font_language_override_equals(&self, other: &ComputedValues) -> bool
pub fn font_language_override_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_optical_sizing(&self) -> &FontOpticalSizing
pub fn get_font_optical_sizing(&self) -> &FontOpticalSizing
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_optical_sizing(&self) -> FontOpticalSizing
pub fn slow_clone_font_optical_sizing(&self) -> FontOpticalSizing
Clones the computed value of a given property. Prefer get_font_optical_sizing
where a reference is enough.
Sourcepub fn font_optical_sizing_equals(&self, other: &ComputedValues) -> bool
pub fn font_optical_sizing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_synthesis_style(&self) -> &FontSynthesisStyle
pub fn get_font_synthesis_style(&self) -> &FontSynthesisStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_synthesis_style(&self) -> FontSynthesisStyle
pub fn slow_clone_font_synthesis_style(&self) -> FontSynthesisStyle
Clones the computed value of a given property. Prefer get_font_synthesis_style
where a reference is enough.
Sourcepub fn font_synthesis_style_equals(&self, other: &ComputedValues) -> bool
pub fn font_synthesis_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_caps(&self) -> &FontVariantCaps
pub fn get_font_variant_caps(&self) -> &FontVariantCaps
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_caps(&self) -> FontVariantCaps
pub fn slow_clone_font_variant_caps(&self) -> FontVariantCaps
Clones the computed value of a given property. Prefer get_font_variant_caps
where a reference is enough.
Sourcepub fn font_variant_caps_equals(&self, other: &ComputedValues) -> bool
pub fn font_variant_caps_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_east_asian(&self) -> &FontVariantEastAsian
pub fn get_font_variant_east_asian(&self) -> &FontVariantEastAsian
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_east_asian(&self) -> FontVariantEastAsian
pub fn slow_clone_font_variant_east_asian(&self) -> FontVariantEastAsian
Clones the computed value of a given property. Prefer get_font_variant_east_asian
where a reference is enough.
Sourcepub fn font_variant_east_asian_equals(&self, other: &ComputedValues) -> bool
pub fn font_variant_east_asian_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_emoji(&self) -> &FontVariantEmoji
pub fn get_font_variant_emoji(&self) -> &FontVariantEmoji
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_emoji(&self) -> FontVariantEmoji
pub fn slow_clone_font_variant_emoji(&self) -> FontVariantEmoji
Clones the computed value of a given property. Prefer get_font_variant_emoji
where a reference is enough.
Sourcepub fn font_variant_emoji_equals(&self, other: &ComputedValues) -> bool
pub fn font_variant_emoji_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_ligatures(&self) -> &FontVariantLigatures
pub fn get_font_variant_ligatures(&self) -> &FontVariantLigatures
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_ligatures(&self) -> FontVariantLigatures
pub fn slow_clone_font_variant_ligatures(&self) -> FontVariantLigatures
Clones the computed value of a given property. Prefer get_font_variant_ligatures
where a reference is enough.
Sourcepub fn font_variant_ligatures_equals(&self, other: &ComputedValues) -> bool
pub fn font_variant_ligatures_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_numeric(&self) -> &FontVariantNumeric
pub fn get_font_variant_numeric(&self) -> &FontVariantNumeric
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_numeric(&self) -> FontVariantNumeric
pub fn slow_clone_font_variant_numeric(&self) -> FontVariantNumeric
Clones the computed value of a given property. Prefer get_font_variant_numeric
where a reference is enough.
Sourcepub fn font_variant_numeric_equals(&self, other: &ComputedValues) -> bool
pub fn font_variant_numeric_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_position(&self) -> &FontVariantPosition
pub fn get_font_variant_position(&self) -> &FontVariantPosition
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_position(&self) -> FontVariantPosition
pub fn slow_clone_font_variant_position(&self) -> FontVariantPosition
Clones the computed value of a given property. Prefer get_font_variant_position
where a reference is enough.
Sourcepub fn font_variant_position_equals(&self, other: &ComputedValues) -> bool
pub fn font_variant_position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_forced_color_adjust(&self) -> &ForcedColorAdjust
pub fn get_forced_color_adjust(&self) -> &ForcedColorAdjust
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_forced_color_adjust(&self) -> ForcedColorAdjust
pub fn slow_clone_forced_color_adjust(&self) -> ForcedColorAdjust
Clones the computed value of a given property. Prefer get_forced_color_adjust
where a reference is enough.
Sourcepub fn forced_color_adjust_equals(&self, other: &ComputedValues) -> bool
pub fn forced_color_adjust_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_auto_flow(&self) -> &GridAutoFlow
pub fn get_grid_auto_flow(&self) -> &GridAutoFlow
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_auto_flow(&self) -> GridAutoFlow
pub fn slow_clone_grid_auto_flow(&self) -> GridAutoFlow
Clones the computed value of a given property. Prefer get_grid_auto_flow
where a reference is enough.
Sourcepub fn grid_auto_flow_equals(&self, other: &ComputedValues) -> bool
pub fn grid_auto_flow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_hyphens(&self) -> &Hyphens
pub fn get_hyphens(&self) -> &Hyphens
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_hyphens(&self) -> Hyphens
pub fn slow_clone_hyphens(&self) -> Hyphens
Clones the computed value of a given property. Prefer get_hyphens
where a reference is enough.
Sourcepub fn hyphens_equals(&self, other: &ComputedValues) -> bool
pub fn hyphens_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_image_rendering(&self) -> &ImageRendering
pub fn get_image_rendering(&self) -> &ImageRendering
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_image_rendering(&self) -> ImageRendering
pub fn slow_clone_image_rendering(&self) -> ImageRendering
Clones the computed value of a given property. Prefer get_image_rendering
where a reference is enough.
Sourcepub fn image_rendering_equals(&self, other: &ComputedValues) -> bool
pub fn image_rendering_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_interactivity(&self) -> &Interactivity
pub fn get_interactivity(&self) -> &Interactivity
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_interactivity(&self) -> Interactivity
pub fn slow_clone_interactivity(&self) -> Interactivity
Clones the computed value of a given property. Prefer get_interactivity
where a reference is enough.
Sourcepub fn interactivity_equals(&self, other: &ComputedValues) -> bool
pub fn interactivity_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_isolation(&self) -> &Isolation
pub fn get_isolation(&self) -> &Isolation
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_isolation(&self) -> Isolation
pub fn slow_clone_isolation(&self) -> Isolation
Clones the computed value of a given property. Prefer get_isolation
where a reference is enough.
Sourcepub fn isolation_equals(&self, other: &ComputedValues) -> bool
pub fn isolation_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_justify_items(&self) -> &ComputedJustifyItems
pub fn get_justify_items(&self) -> &ComputedJustifyItems
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_justify_items(&self) -> ComputedJustifyItems
pub fn slow_clone_justify_items(&self) -> ComputedJustifyItems
Clones the computed value of a given property. Prefer get_justify_items
where a reference is enough.
Sourcepub fn justify_items_equals(&self, other: &ComputedValues) -> bool
pub fn justify_items_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_line_break(&self) -> &LineBreak
pub fn get_line_break(&self) -> &LineBreak
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_line_break(&self) -> LineBreak
pub fn slow_clone_line_break(&self) -> LineBreak
Clones the computed value of a given property. Prefer get_line_break
where a reference is enough.
Sourcepub fn line_break_equals(&self, other: &ComputedValues) -> bool
pub fn line_break_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_list_style_position(&self) -> &ListStylePosition
pub fn get_list_style_position(&self) -> &ListStylePosition
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_list_style_position(&self) -> ListStylePosition
pub fn slow_clone_list_style_position(&self) -> ListStylePosition
Clones the computed value of a given property. Prefer get_list_style_position
where a reference is enough.
Sourcepub fn list_style_position_equals(&self, other: &ComputedValues) -> bool
pub fn list_style_position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_mask_type(&self) -> &MaskType
pub fn get_mask_type(&self) -> &MaskType
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_mask_type(&self) -> MaskType
pub fn slow_clone_mask_type(&self) -> MaskType
Clones the computed value of a given property. Prefer get_mask_type
where a reference is enough.
Sourcepub fn mask_type_equals(&self, other: &ComputedValues) -> bool
pub fn mask_type_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_math_style(&self) -> &MathStyle
pub fn get_math_style(&self) -> &MathStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_math_style(&self) -> MathStyle
pub fn slow_clone_math_style(&self) -> MathStyle
Clones the computed value of a given property. Prefer get_math_style
where a reference is enough.
Sourcepub fn math_style_equals(&self, other: &ComputedValues) -> bool
pub fn math_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_mix_blend_mode(&self) -> &Blend
pub fn get_mix_blend_mode(&self) -> &Blend
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_mix_blend_mode(&self) -> Blend
pub fn slow_clone_mix_blend_mode(&self) -> Blend
Clones the computed value of a given property. Prefer get_mix_blend_mode
where a reference is enough.
Sourcepub fn mix_blend_mode_equals(&self, other: &ComputedValues) -> bool
pub fn mix_blend_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get__moz_inert(&self) -> &Inert
pub fn get__moz_inert(&self) -> &Inert
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__moz_inert(&self) -> Inert
pub fn slow_clone__moz_inert(&self) -> Inert
Clones the computed value of a given property. Prefer get__moz_inert
where a reference is enough.
Sourcepub fn _moz_inert_equals(&self, other: &ComputedValues) -> bool
pub fn _moz_inert_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_object_fit(&self) -> &ObjectFit
pub fn get_object_fit(&self) -> &ObjectFit
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_object_fit(&self) -> ObjectFit
pub fn slow_clone_object_fit(&self) -> ObjectFit
Clones the computed value of a given property. Prefer get_object_fit
where a reference is enough.
Sourcepub fn object_fit_equals(&self, other: &ComputedValues) -> bool
pub fn object_fit_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_outline_style(&self) -> &OutlineStyle
pub fn get_outline_style(&self) -> &OutlineStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_outline_style(&self) -> OutlineStyle
pub fn slow_clone_outline_style(&self) -> OutlineStyle
Clones the computed value of a given property. Prefer get_outline_style
where a reference is enough.
Sourcepub fn outline_style_equals(&self, other: &ComputedValues) -> bool
pub fn outline_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overflow_wrap(&self) -> &OverflowWrap
pub fn get_overflow_wrap(&self) -> &OverflowWrap
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overflow_wrap(&self) -> OverflowWrap
pub fn slow_clone_overflow_wrap(&self) -> OverflowWrap
Clones the computed value of a given property. Prefer get_overflow_wrap
where a reference is enough.
Sourcepub fn overflow_wrap_equals(&self, other: &ComputedValues) -> bool
pub fn overflow_wrap_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_pointer_events(&self) -> &PointerEvents
pub fn get_pointer_events(&self) -> &PointerEvents
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_pointer_events(&self) -> PointerEvents
pub fn slow_clone_pointer_events(&self) -> PointerEvents
Clones the computed value of a given property. Prefer get_pointer_events
where a reference is enough.
Sourcepub fn pointer_events_equals(&self, other: &ComputedValues) -> bool
pub fn pointer_events_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_position(&self) -> PositionProperty
pub fn slow_clone_position(&self) -> PositionProperty
Clones the computed value of a given property. Prefer get_position
where a reference is enough.
Sourcepub fn position_equals(&self, other: &ComputedValues) -> bool
pub fn position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_position_area(&self) -> &PositionArea
pub fn get_position_area(&self) -> &PositionArea
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_position_area(&self) -> PositionArea
pub fn slow_clone_position_area(&self) -> PositionArea
Clones the computed value of a given property. Prefer get_position_area
where a reference is enough.
Sourcepub fn position_area_equals(&self, other: &ComputedValues) -> bool
pub fn position_area_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_ruby_align(&self) -> &RubyAlign
pub fn get_ruby_align(&self) -> &RubyAlign
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_ruby_align(&self) -> RubyAlign
pub fn slow_clone_ruby_align(&self) -> RubyAlign
Clones the computed value of a given property. Prefer get_ruby_align
where a reference is enough.
Sourcepub fn ruby_align_equals(&self, other: &ComputedValues) -> bool
pub fn ruby_align_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_ruby_position(&self) -> &RubyPosition
pub fn get_ruby_position(&self) -> &RubyPosition
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_ruby_position(&self) -> RubyPosition
pub fn slow_clone_ruby_position(&self) -> RubyPosition
Clones the computed value of a given property. Prefer get_ruby_position
where a reference is enough.
Sourcepub fn ruby_position_equals(&self, other: &ComputedValues) -> bool
pub fn ruby_position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_scroll_behavior(&self) -> &ScrollBehavior
pub fn get_scroll_behavior(&self) -> &ScrollBehavior
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_scroll_behavior(&self) -> ScrollBehavior
pub fn slow_clone_scroll_behavior(&self) -> ScrollBehavior
Clones the computed value of a given property. Prefer get_scroll_behavior
where a reference is enough.
Sourcepub fn scroll_behavior_equals(&self, other: &ComputedValues) -> bool
pub fn scroll_behavior_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_scrollbar_width(&self) -> &ScrollbarWidth
pub fn get_scrollbar_width(&self) -> &ScrollbarWidth
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_scrollbar_width(&self) -> ScrollbarWidth
pub fn slow_clone_scrollbar_width(&self) -> ScrollbarWidth
Clones the computed value of a given property. Prefer get_scrollbar_width
where a reference is enough.
Sourcepub fn scrollbar_width_equals(&self, other: &ComputedValues) -> bool
pub fn scrollbar_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get__servo_top_layer(&self) -> &TopLayer
pub fn get__servo_top_layer(&self) -> &TopLayer
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__servo_top_layer(&self) -> TopLayer
pub fn slow_clone__servo_top_layer(&self) -> TopLayer
Clones the computed value of a given property. Prefer get__servo_top_layer
where a reference is enough.
Sourcepub fn _servo_top_layer_equals(&self, other: &ComputedValues) -> bool
pub fn _servo_top_layer_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_linecap(&self) -> &StrokeLinecap
pub fn get_stroke_linecap(&self) -> &StrokeLinecap
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_linecap(&self) -> StrokeLinecap
pub fn slow_clone_stroke_linecap(&self) -> StrokeLinecap
Clones the computed value of a given property. Prefer get_stroke_linecap
where a reference is enough.
Sourcepub fn stroke_linecap_equals(&self, other: &ComputedValues) -> bool
pub fn stroke_linecap_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_linejoin(&self) -> &StrokeLinejoin
pub fn get_stroke_linejoin(&self) -> &StrokeLinejoin
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_linejoin(&self) -> StrokeLinejoin
pub fn slow_clone_stroke_linejoin(&self) -> StrokeLinejoin
Clones the computed value of a given property. Prefer get_stroke_linejoin
where a reference is enough.
Sourcepub fn stroke_linejoin_equals(&self, other: &ComputedValues) -> bool
pub fn stroke_linejoin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_table_layout(&self) -> &TableLayout
pub fn get_table_layout(&self) -> &TableLayout
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_table_layout(&self) -> TableLayout
pub fn slow_clone_table_layout(&self) -> TableLayout
Clones the computed value of a given property. Prefer get_table_layout
where a reference is enough.
Sourcepub fn table_layout_equals(&self, other: &ComputedValues) -> bool
pub fn table_layout_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_align(&self) -> &TextAlignKeyword
pub fn get_text_align(&self) -> &TextAlignKeyword
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_align(&self) -> TextAlignKeyword
pub fn slow_clone_text_align(&self) -> TextAlignKeyword
Clones the computed value of a given property. Prefer get_text_align
where a reference is enough.
Sourcepub fn text_align_equals(&self, other: &ComputedValues) -> bool
pub fn text_align_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_align_last(&self) -> &TextAlignLast
pub fn get_text_align_last(&self) -> &TextAlignLast
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_align_last(&self) -> TextAlignLast
pub fn slow_clone_text_align_last(&self) -> TextAlignLast
Clones the computed value of a given property. Prefer get_text_align_last
where a reference is enough.
Sourcepub fn text_align_last_equals(&self, other: &ComputedValues) -> bool
pub fn text_align_last_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_autospace(&self) -> &TextAutospace
pub fn get_text_autospace(&self) -> &TextAutospace
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_autospace(&self) -> TextAutospace
pub fn slow_clone_text_autospace(&self) -> TextAutospace
Clones the computed value of a given property. Prefer get_text_autospace
where a reference is enough.
Sourcepub fn text_autospace_equals(&self, other: &ComputedValues) -> bool
pub fn text_autospace_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_box_edge(&self) -> &TextBoxEdge
pub fn get_text_box_edge(&self) -> &TextBoxEdge
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_box_edge(&self) -> TextBoxEdge
pub fn slow_clone_text_box_edge(&self) -> TextBoxEdge
Clones the computed value of a given property. Prefer get_text_box_edge
where a reference is enough.
Sourcepub fn text_box_edge_equals(&self, other: &ComputedValues) -> bool
pub fn text_box_edge_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_box_trim(&self) -> &TextBoxTrim
pub fn get_text_box_trim(&self) -> &TextBoxTrim
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_box_trim(&self) -> TextBoxTrim
pub fn slow_clone_text_box_trim(&self) -> TextBoxTrim
Clones the computed value of a given property. Prefer get_text_box_trim
where a reference is enough.
Sourcepub fn text_box_trim_equals(&self, other: &ComputedValues) -> bool
pub fn text_box_trim_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_combine_upright(&self) -> &TextCombineUpright
pub fn get_text_combine_upright(&self) -> &TextCombineUpright
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_combine_upright(&self) -> TextCombineUpright
pub fn slow_clone_text_combine_upright(&self) -> TextCombineUpright
Clones the computed value of a given property. Prefer get_text_combine_upright
where a reference is enough.
Sourcepub fn text_combine_upright_equals(&self, other: &ComputedValues) -> bool
pub fn text_combine_upright_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_line(&self) -> &TextDecorationLine
pub fn get_text_decoration_line(&self) -> &TextDecorationLine
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_line(&self) -> TextDecorationLine
pub fn slow_clone_text_decoration_line(&self) -> TextDecorationLine
Clones the computed value of a given property. Prefer get_text_decoration_line
where a reference is enough.
Sourcepub fn text_decoration_line_equals(&self, other: &ComputedValues) -> bool
pub fn text_decoration_line_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_style(&self) -> &TextDecorationStyle
pub fn get_text_decoration_style(&self) -> &TextDecorationStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_style(&self) -> TextDecorationStyle
pub fn slow_clone_text_decoration_style(&self) -> TextDecorationStyle
Clones the computed value of a given property. Prefer get_text_decoration_style
where a reference is enough.
Sourcepub fn text_decoration_style_equals(&self, other: &ComputedValues) -> bool
pub fn text_decoration_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_emphasis_position(&self) -> &TextEmphasisPosition
pub fn get_text_emphasis_position(&self) -> &TextEmphasisPosition
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_emphasis_position(&self) -> TextEmphasisPosition
pub fn slow_clone_text_emphasis_position(&self) -> TextEmphasisPosition
Clones the computed value of a given property. Prefer get_text_emphasis_position
where a reference is enough.
Sourcepub fn text_emphasis_position_equals(&self, other: &ComputedValues) -> bool
pub fn text_emphasis_position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_justify(&self) -> &TextJustify
pub fn get_text_justify(&self) -> &TextJustify
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_justify(&self) -> TextJustify
pub fn slow_clone_text_justify(&self) -> TextJustify
Clones the computed value of a given property. Prefer get_text_justify
where a reference is enough.
Sourcepub fn text_justify_equals(&self, other: &ComputedValues) -> bool
pub fn text_justify_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_orientation(&self) -> &TextOrientation
pub fn get_text_orientation(&self) -> &TextOrientation
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_orientation(&self) -> TextOrientation
pub fn slow_clone_text_orientation(&self) -> TextOrientation
Clones the computed value of a given property. Prefer get_text_orientation
where a reference is enough.
Sourcepub fn text_orientation_equals(&self, other: &ComputedValues) -> bool
pub fn text_orientation_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_rendering(&self) -> &TextRendering
pub fn get_text_rendering(&self) -> &TextRendering
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_rendering(&self) -> TextRendering
pub fn slow_clone_text_rendering(&self) -> TextRendering
Clones the computed value of a given property. Prefer get_text_rendering
where a reference is enough.
Sourcepub fn text_rendering_equals(&self, other: &ComputedValues) -> bool
pub fn text_rendering_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_transform(&self) -> &TextTransform
pub fn get_text_transform(&self) -> &TextTransform
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_transform(&self) -> TextTransform
pub fn slow_clone_text_transform(&self) -> TextTransform
Clones the computed value of a given property. Prefer get_text_transform
where a reference is enough.
Sourcepub fn text_transform_equals(&self, other: &ComputedValues) -> bool
pub fn text_transform_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_underline_position(&self) -> &TextUnderlinePosition
pub fn get_text_underline_position(&self) -> &TextUnderlinePosition
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_underline_position(&self) -> TextUnderlinePosition
pub fn slow_clone_text_underline_position(&self) -> TextUnderlinePosition
Clones the computed value of a given property. Prefer get_text_underline_position
where a reference is enough.
Sourcepub fn text_underline_position_equals(&self, other: &ComputedValues) -> bool
pub fn text_underline_position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_wrap_mode(&self) -> &TextWrapMode
pub fn get_text_wrap_mode(&self) -> &TextWrapMode
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_wrap_mode(&self) -> TextWrapMode
pub fn slow_clone_text_wrap_mode(&self) -> TextWrapMode
Clones the computed value of a given property. Prefer get_text_wrap_mode
where a reference is enough.
Sourcepub fn text_wrap_mode_equals(&self, other: &ComputedValues) -> bool
pub fn text_wrap_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_wrap_style(&self) -> &TextWrapStyle
pub fn get_text_wrap_style(&self) -> &TextWrapStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_wrap_style(&self) -> TextWrapStyle
pub fn slow_clone_text_wrap_style(&self) -> TextWrapStyle
Clones the computed value of a given property. Prefer get_text_wrap_style
where a reference is enough.
Sourcepub fn text_wrap_style_equals(&self, other: &ComputedValues) -> bool
pub fn text_wrap_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_touch_action(&self) -> &TouchAction
pub fn get_touch_action(&self) -> &TouchAction
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_touch_action(&self) -> TouchAction
pub fn slow_clone_touch_action(&self) -> TouchAction
Clones the computed value of a given property. Prefer get_touch_action
where a reference is enough.
Sourcepub fn touch_action_equals(&self, other: &ComputedValues) -> bool
pub fn touch_action_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_transform_style(&self) -> &TransformStyle
pub fn get_transform_style(&self) -> &TransformStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_transform_style(&self) -> TransformStyle
pub fn slow_clone_transform_style(&self) -> TransformStyle
Clones the computed value of a given property. Prefer get_transform_style
where a reference is enough.
Sourcepub fn transform_style_equals(&self, other: &ComputedValues) -> bool
pub fn transform_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_unicode_bidi(&self) -> &UnicodeBidi
pub fn get_unicode_bidi(&self) -> &UnicodeBidi
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_unicode_bidi(&self) -> UnicodeBidi
pub fn slow_clone_unicode_bidi(&self) -> UnicodeBidi
Clones the computed value of a given property. Prefer get_unicode_bidi
where a reference is enough.
Sourcepub fn unicode_bidi_equals(&self, other: &ComputedValues) -> bool
pub fn unicode_bidi_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_user_select(&self) -> &UserSelect
pub fn get_user_select(&self) -> &UserSelect
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_user_select(&self) -> UserSelect
pub fn slow_clone_user_select(&self) -> UserSelect
Clones the computed value of a given property. Prefer get_user_select
where a reference is enough.
Sourcepub fn user_select_equals(&self, other: &ComputedValues) -> bool
pub fn user_select_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_visibility(&self) -> &Visibility
pub fn get_visibility(&self) -> &Visibility
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_visibility(&self) -> Visibility
pub fn slow_clone_visibility(&self) -> Visibility
Clones the computed value of a given property. Prefer get_visibility
where a reference is enough.
Sourcepub fn visibility_equals(&self, other: &ComputedValues) -> bool
pub fn visibility_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get__webkit_text_security(&self) -> &TextSecurity
pub fn get__webkit_text_security(&self) -> &TextSecurity
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__webkit_text_security(&self) -> TextSecurity
pub fn slow_clone__webkit_text_security(&self) -> TextSecurity
Clones the computed value of a given property. Prefer get__webkit_text_security
where a reference is enough.
Sourcepub fn _webkit_text_security_equals(&self, other: &ComputedValues) -> bool
pub fn _webkit_text_security_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_white_space_collapse(&self) -> &WhiteSpaceCollapse
pub fn get_white_space_collapse(&self) -> &WhiteSpaceCollapse
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_white_space_collapse(&self) -> WhiteSpaceCollapse
pub fn slow_clone_white_space_collapse(&self) -> WhiteSpaceCollapse
Clones the computed value of a given property. Prefer get_white_space_collapse
where a reference is enough.
Sourcepub fn white_space_collapse_equals(&self, other: &ComputedValues) -> bool
pub fn white_space_collapse_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_word_break(&self) -> &WordBreak
pub fn get_word_break(&self) -> &WordBreak
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_word_break(&self) -> WordBreak
pub fn slow_clone_word_break(&self) -> WordBreak
Clones the computed value of a given property. Prefer get_word_break
where a reference is enough.
Sourcepub fn word_break_equals(&self, other: &ComputedValues) -> bool
pub fn word_break_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_writing_mode(&self) -> &WritingModeProperty
pub fn get_writing_mode(&self) -> &WritingModeProperty
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_writing_mode(&self) -> WritingModeProperty
pub fn slow_clone_writing_mode(&self) -> WritingModeProperty
Clones the computed value of a given property. Prefer get_writing_mode
where a reference is enough.
Sourcepub fn writing_mode_equals(&self, other: &ComputedValues) -> bool
pub fn writing_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get__x_text_scale(&self) -> &XTextScale
pub fn get__x_text_scale(&self) -> &XTextScale
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__x_text_scale(&self) -> XTextScale
pub fn slow_clone__x_text_scale(&self) -> XTextScale
Clones the computed value of a given property. Prefer get__x_text_scale
where a reference is enough.
Sourcepub fn _x_text_scale_equals(&self, other: &ComputedValues) -> bool
pub fn _x_text_scale_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_appearance(&self) -> &Appearance
pub fn get_appearance(&self) -> &Appearance
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_appearance(&self) -> Appearance
pub fn slow_clone_appearance(&self) -> Appearance
Clones the computed value of a given property. Prefer get_appearance
where a reference is enough.
Sourcepub fn appearance_equals(&self, other: &ComputedValues) -> bool
pub fn appearance_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get__moz_default_appearance(&self) -> &Appearance
pub fn get__moz_default_appearance(&self) -> &Appearance
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__moz_default_appearance(&self) -> Appearance
pub fn slow_clone__moz_default_appearance(&self) -> Appearance
Clones the computed value of a given property. Prefer get__moz_default_appearance
where a reference is enough.
Sourcepub fn _moz_default_appearance_equals(&self, other: &ComputedValues) -> bool
pub fn _moz_default_appearance_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_align_content(&self) -> &ContentDistribution
pub fn get_align_content(&self) -> &ContentDistribution
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_align_content(&self) -> ContentDistribution
pub fn slow_clone_align_content(&self) -> ContentDistribution
Clones the computed value of a given property. Prefer get_align_content
where a reference is enough.
Sourcepub fn align_content_equals(&self, other: &ComputedValues) -> bool
pub fn align_content_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_justify_content(&self) -> &ContentDistribution
pub fn get_justify_content(&self) -> &ContentDistribution
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_justify_content(&self) -> ContentDistribution
pub fn slow_clone_justify_content(&self) -> ContentDistribution
Clones the computed value of a given property. Prefer get_justify_content
where a reference is enough.
Sourcepub fn justify_content_equals(&self, other: &ComputedValues) -> bool
pub fn justify_content_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_align_self(&self) -> &SelfAlignment
pub fn get_align_self(&self) -> &SelfAlignment
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_align_self(&self) -> SelfAlignment
pub fn slow_clone_align_self(&self) -> SelfAlignment
Clones the computed value of a given property. Prefer get_align_self
where a reference is enough.
Sourcepub fn align_self_equals(&self, other: &ComputedValues) -> bool
pub fn align_self_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_justify_self(&self) -> &SelfAlignment
pub fn get_justify_self(&self) -> &SelfAlignment
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_justify_self(&self) -> SelfAlignment
pub fn slow_clone_justify_self(&self) -> SelfAlignment
Clones the computed value of a given property. Prefer get_justify_self
where a reference is enough.
Sourcepub fn justify_self_equals(&self, other: &ComputedValues) -> bool
pub fn justify_self_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_synthesis_position(&self) -> &FontSynthesis
pub fn get_font_synthesis_position(&self) -> &FontSynthesis
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_synthesis_position(&self) -> FontSynthesis
pub fn slow_clone_font_synthesis_position(&self) -> FontSynthesis
Clones the computed value of a given property. Prefer get_font_synthesis_position
where a reference is enough.
Sourcepub fn font_synthesis_position_equals(&self, other: &ComputedValues) -> bool
pub fn font_synthesis_position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_synthesis_small_caps(&self) -> &FontSynthesis
pub fn get_font_synthesis_small_caps(&self) -> &FontSynthesis
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_synthesis_small_caps(&self) -> FontSynthesis
pub fn slow_clone_font_synthesis_small_caps(&self) -> FontSynthesis
Clones the computed value of a given property. Prefer get_font_synthesis_small_caps
where a reference is enough.
Sourcepub fn font_synthesis_small_caps_equals(&self, other: &ComputedValues) -> bool
pub fn font_synthesis_small_caps_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_synthesis_weight(&self) -> &FontSynthesis
pub fn get_font_synthesis_weight(&self) -> &FontSynthesis
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_synthesis_weight(&self) -> FontSynthesis
pub fn slow_clone_font_synthesis_weight(&self) -> FontSynthesis
Clones the computed value of a given property. Prefer get_font_synthesis_weight
where a reference is enough.
Sourcepub fn font_synthesis_weight_equals(&self, other: &ComputedValues) -> bool
pub fn font_synthesis_weight_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overflow_x(&self) -> &Overflow
pub fn get_overflow_x(&self) -> &Overflow
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overflow_x(&self) -> Overflow
pub fn slow_clone_overflow_x(&self) -> Overflow
Clones the computed value of a given property. Prefer get_overflow_x
where a reference is enough.
Sourcepub fn overflow_x_equals(&self, other: &ComputedValues) -> bool
pub fn overflow_x_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overflow_y(&self) -> &Overflow
pub fn get_overflow_y(&self) -> &Overflow
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overflow_y(&self) -> Overflow
pub fn slow_clone_overflow_y(&self) -> Overflow
Clones the computed value of a given property. Prefer get_overflow_y
where a reference is enough.
Sourcepub fn overflow_y_equals(&self, other: &ComputedValues) -> bool
pub fn overflow_y_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overscroll_behavior_x(&self) -> &OverscrollBehavior
pub fn get_overscroll_behavior_x(&self) -> &OverscrollBehavior
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overscroll_behavior_x(&self) -> OverscrollBehavior
pub fn slow_clone_overscroll_behavior_x(&self) -> OverscrollBehavior
Clones the computed value of a given property. Prefer get_overscroll_behavior_x
where a reference is enough.
Sourcepub fn overscroll_behavior_x_equals(&self, other: &ComputedValues) -> bool
pub fn overscroll_behavior_x_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overscroll_behavior_y(&self) -> &OverscrollBehavior
pub fn get_overscroll_behavior_y(&self) -> &OverscrollBehavior
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overscroll_behavior_y(&self) -> OverscrollBehavior
pub fn slow_clone_overscroll_behavior_y(&self) -> OverscrollBehavior
Clones the computed value of a given property. Prefer get_overscroll_behavior_y
where a reference is enough.
Sourcepub fn overscroll_behavior_y_equals(&self, other: &ComputedValues) -> bool
pub fn overscroll_behavior_y_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_style(&self) -> &BorderStyle
pub fn get_border_bottom_style(&self) -> &BorderStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_style(&self) -> BorderStyle
pub fn slow_clone_border_bottom_style(&self) -> BorderStyle
Clones the computed value of a given property. Prefer get_border_bottom_style
where a reference is enough.
Sourcepub fn border_bottom_style_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_left_style(&self) -> &BorderStyle
pub fn get_border_left_style(&self) -> &BorderStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_left_style(&self) -> BorderStyle
pub fn slow_clone_border_left_style(&self) -> BorderStyle
Clones the computed value of a given property. Prefer get_border_left_style
where a reference is enough.
Sourcepub fn border_left_style_equals(&self, other: &ComputedValues) -> bool
pub fn border_left_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_right_style(&self) -> &BorderStyle
pub fn get_border_right_style(&self) -> &BorderStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_right_style(&self) -> BorderStyle
pub fn slow_clone_border_right_style(&self) -> BorderStyle
Clones the computed value of a given property. Prefer get_border_right_style
where a reference is enough.
Sourcepub fn border_right_style_equals(&self, other: &ComputedValues) -> bool
pub fn border_right_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_style(&self) -> &BorderStyle
pub fn get_border_top_style(&self) -> &BorderStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_style(&self) -> BorderStyle
pub fn slow_clone_border_top_style(&self) -> BorderStyle
Clones the computed value of a given property. Prefer get_border_top_style
where a reference is enough.
Sourcepub fn border_top_style_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_composition(
&self,
) -> OwnedList<AnimationComposition>
pub fn slow_clone_animation_composition( &self, ) -> OwnedList<AnimationComposition>
Clones the computed value of a given property. Prefer get_animation_composition
where a reference is enough.
Sourcepub fn animation_composition_equals(&self, other: &ComputedValues) -> bool
pub fn animation_composition_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_delay(&self) -> OwnedList<Time>
pub fn slow_clone_animation_delay(&self) -> OwnedList<Time>
Clones the computed value of a given property. Prefer get_animation_delay
where a reference is enough.
Sourcepub fn animation_delay_equals(&self, other: &ComputedValues) -> bool
pub fn animation_delay_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_direction(&self) -> OwnedList<AnimationDirection>
pub fn slow_clone_animation_direction(&self) -> OwnedList<AnimationDirection>
Clones the computed value of a given property. Prefer get_animation_direction
where a reference is enough.
Sourcepub fn animation_direction_equals(&self, other: &ComputedValues) -> bool
pub fn animation_direction_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_duration(
&self,
) -> OwnedList<GenericAnimationDuration<Time>>
pub fn slow_clone_animation_duration( &self, ) -> OwnedList<GenericAnimationDuration<Time>>
Clones the computed value of a given property. Prefer get_animation_duration
where a reference is enough.
Sourcepub fn animation_duration_equals(&self, other: &ComputedValues) -> bool
pub fn animation_duration_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_fill_mode(&self) -> OwnedList<AnimationFillMode>
pub fn slow_clone_animation_fill_mode(&self) -> OwnedList<AnimationFillMode>
Clones the computed value of a given property. Prefer get_animation_fill_mode
where a reference is enough.
Sourcepub fn animation_fill_mode_equals(&self, other: &ComputedValues) -> bool
pub fn animation_fill_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_iteration_count(
&self,
) -> OwnedList<AnimationIterationCount>
pub fn slow_clone_animation_iteration_count( &self, ) -> OwnedList<AnimationIterationCount>
Clones the computed value of a given property. Prefer get_animation_iteration_count
where a reference is enough.
Sourcepub fn animation_iteration_count_equals(&self, other: &ComputedValues) -> bool
pub fn animation_iteration_count_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_name(&self) -> OwnedList<AnimationName>
pub fn slow_clone_animation_name(&self) -> OwnedList<AnimationName>
Clones the computed value of a given property. Prefer get_animation_name
where a reference is enough.
Sourcepub fn animation_name_equals(&self, other: &ComputedValues) -> bool
pub fn animation_name_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_play_state(&self) -> OwnedList<AnimationPlayState>
pub fn slow_clone_animation_play_state(&self) -> OwnedList<AnimationPlayState>
Clones the computed value of a given property. Prefer get_animation_play_state
where a reference is enough.
Sourcepub fn animation_play_state_equals(&self, other: &ComputedValues) -> bool
pub fn animation_play_state_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_range_end(
&self,
) -> OwnedList<GenericAnimationRangeEnd<LengthPercentage>>
pub fn slow_clone_animation_range_end( &self, ) -> OwnedList<GenericAnimationRangeEnd<LengthPercentage>>
Clones the computed value of a given property. Prefer get_animation_range_end
where a reference is enough.
Sourcepub fn animation_range_end_equals(&self, other: &ComputedValues) -> bool
pub fn animation_range_end_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_range_start(
&self,
) -> OwnedList<GenericAnimationRangeStart<LengthPercentage>>
pub fn slow_clone_animation_range_start( &self, ) -> OwnedList<GenericAnimationRangeStart<LengthPercentage>>
Clones the computed value of a given property. Prefer get_animation_range_start
where a reference is enough.
Sourcepub fn animation_range_start_equals(&self, other: &ComputedValues) -> bool
pub fn animation_range_start_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_timeline(
&self,
) -> OwnedList<GenericAnimationTimeline<LengthPercentage>>
pub fn slow_clone_animation_timeline( &self, ) -> OwnedList<GenericAnimationTimeline<LengthPercentage>>
Clones the computed value of a given property. Prefer get_animation_timeline
where a reference is enough.
Sourcepub fn animation_timeline_equals(&self, other: &ComputedValues) -> bool
pub fn animation_timeline_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_timing_function(
&self,
) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>
pub fn slow_clone_animation_timing_function( &self, ) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>
Clones the computed value of a given property. Prefer get_animation_timing_function
where a reference is enough.
Sourcepub fn animation_timing_function_equals(&self, other: &ComputedValues) -> bool
pub fn animation_timing_function_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_aspect_ratio(&self) -> &GenericAspectRatio<NonNegative<f32>>
pub fn get_aspect_ratio(&self) -> &GenericAspectRatio<NonNegative<f32>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_aspect_ratio(&self) -> GenericAspectRatio<NonNegative<f32>>
pub fn slow_clone_aspect_ratio(&self) -> GenericAspectRatio<NonNegative<f32>>
Clones the computed value of a given property. Prefer get_aspect_ratio
where a reference is enough.
Sourcepub fn aspect_ratio_equals(&self, other: &ComputedValues) -> bool
pub fn aspect_ratio_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_backdrop_filter(
&self,
) -> &[GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>]
pub fn get_backdrop_filter( &self, ) -> &[GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>]
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_backdrop_filter(
&self,
) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>
pub fn slow_clone_backdrop_filter( &self, ) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>
Clones the computed value of a given property. Prefer get_backdrop_filter
where a reference is enough.
Sourcepub fn backdrop_filter_equals(&self, other: &ComputedValues) -> bool
pub fn backdrop_filter_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_attachment(
&self,
) -> OwnedList<ImageLayerAttachment>
pub fn slow_clone_background_attachment( &self, ) -> OwnedList<ImageLayerAttachment>
Clones the computed value of a given property. Prefer get_background_attachment
where a reference is enough.
Sourcepub fn background_attachment_equals(&self, other: &ComputedValues) -> bool
pub fn background_attachment_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_blend_mode(&self) -> OwnedList<Blend>
pub fn slow_clone_background_blend_mode(&self) -> OwnedList<Blend>
Clones the computed value of a given property. Prefer get_background_blend_mode
where a reference is enough.
Sourcepub fn background_blend_mode_equals(&self, other: &ComputedValues) -> bool
pub fn background_blend_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_clip(&self) -> OwnedList<BackgroundClip>
pub fn slow_clone_background_clip(&self) -> OwnedList<BackgroundClip>
Clones the computed value of a given property. Prefer get_background_clip
where a reference is enough.
Sourcepub fn background_clip_equals(&self, other: &ComputedValues) -> bool
pub fn background_clip_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_image(
&self,
) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
pub fn slow_clone_background_image( &self, ) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
Clones the computed value of a given property. Prefer get_background_image
where a reference is enough.
Sourcepub fn background_image_equals(&self, other: &ComputedValues) -> bool
pub fn background_image_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_origin(&self) -> OwnedList<BackgroundOrigin>
pub fn slow_clone_background_origin(&self) -> OwnedList<BackgroundOrigin>
Clones the computed value of a given property. Prefer get_background_origin
where a reference is enough.
Sourcepub fn background_origin_equals(&self, other: &ComputedValues) -> bool
pub fn background_origin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_position_x(&self) -> OwnedList<LengthPercentage>
pub fn slow_clone_background_position_x(&self) -> OwnedList<LengthPercentage>
Clones the computed value of a given property. Prefer get_background_position_x
where a reference is enough.
Sourcepub fn background_position_x_equals(&self, other: &ComputedValues) -> bool
pub fn background_position_x_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_position_y(&self) -> OwnedList<LengthPercentage>
pub fn slow_clone_background_position_y(&self) -> OwnedList<LengthPercentage>
Clones the computed value of a given property. Prefer get_background_position_y
where a reference is enough.
Sourcepub fn background_position_y_equals(&self, other: &ComputedValues) -> bool
pub fn background_position_y_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_repeat(&self) -> OwnedList<BackgroundRepeat>
pub fn slow_clone_background_repeat(&self) -> OwnedList<BackgroundRepeat>
Clones the computed value of a given property. Prefer get_background_repeat
where a reference is enough.
Sourcepub fn background_repeat_equals(&self, other: &ComputedValues) -> bool
pub fn background_repeat_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_size(
&self,
) -> OwnedList<GenericBackgroundSize<NonNegative<LengthPercentage>>>
pub fn slow_clone_background_size( &self, ) -> OwnedList<GenericBackgroundSize<NonNegative<LengthPercentage>>>
Clones the computed value of a given property. Prefer get_background_size
where a reference is enough.
Sourcepub fn background_size_equals(&self, other: &ComputedValues) -> bool
pub fn background_size_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_baseline_shift(&self) -> &GenericBaselineShift<LengthPercentage>
pub fn get_baseline_shift(&self) -> &GenericBaselineShift<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_baseline_shift(
&self,
) -> GenericBaselineShift<LengthPercentage>
pub fn slow_clone_baseline_shift( &self, ) -> GenericBaselineShift<LengthPercentage>
Clones the computed value of a given property. Prefer get_baseline_shift
where a reference is enough.
Sourcepub fn baseline_shift_equals(&self, other: &ComputedValues) -> bool
pub fn baseline_shift_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_outset(
&self,
) -> &Rect<GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>>
pub fn get_border_image_outset( &self, ) -> &Rect<GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_outset(
&self,
) -> Rect<GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>>
pub fn slow_clone_border_image_outset( &self, ) -> Rect<GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>>
Clones the computed value of a given property. Prefer get_border_image_outset
where a reference is enough.
Sourcepub fn border_image_outset_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_outset_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_slice(
&self,
) -> &GenericBorderImageSlice<NonNegative<NumberOrPercentage>>
pub fn get_border_image_slice( &self, ) -> &GenericBorderImageSlice<NonNegative<NumberOrPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_slice(
&self,
) -> GenericBorderImageSlice<NonNegative<NumberOrPercentage>>
pub fn slow_clone_border_image_slice( &self, ) -> GenericBorderImageSlice<NonNegative<NumberOrPercentage>>
Clones the computed value of a given property. Prefer get_border_image_slice
where a reference is enough.
Sourcepub fn border_image_slice_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_slice_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_width(
&self,
) -> &Rect<GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<f32>>>
pub fn get_border_image_width( &self, ) -> &Rect<GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<f32>>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_width(
&self,
) -> Rect<GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<f32>>>
pub fn slow_clone_border_image_width( &self, ) -> Rect<GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<f32>>>
Clones the computed value of a given property. Prefer get_border_image_width
where a reference is enough.
Sourcepub fn border_image_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_spacing(
&self,
) -> &GenericBorderSpacing<NonNegative<CSSPixelLength>>
pub fn get_border_spacing( &self, ) -> &GenericBorderSpacing<NonNegative<CSSPixelLength>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_spacing(
&self,
) -> GenericBorderSpacing<NonNegative<CSSPixelLength>>
pub fn slow_clone_border_spacing( &self, ) -> GenericBorderSpacing<NonNegative<CSSPixelLength>>
Clones the computed value of a given property. Prefer get_border_spacing
where a reference is enough.
Sourcepub fn border_spacing_equals(&self, other: &ComputedValues) -> bool
pub fn border_spacing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_box_shadow(
&self,
) -> &[GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>, CSSPixelLength>]
pub fn get_box_shadow( &self, ) -> &[GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>, CSSPixelLength>]
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_box_shadow(
&self,
) -> OwnedList<GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>, CSSPixelLength>>
pub fn slow_clone_box_shadow( &self, ) -> OwnedList<GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>, CSSPixelLength>>
Clones the computed value of a given property. Prefer get_box_shadow
where a reference is enough.
Sourcepub fn box_shadow_equals(&self, other: &ComputedValues) -> bool
pub fn box_shadow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_caret_color(&self) -> &GenericCaretColor<GenericColor<Percentage>>
pub fn get_caret_color(&self) -> &GenericCaretColor<GenericColor<Percentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_caret_color(
&self,
) -> GenericCaretColor<GenericColor<Percentage>>
pub fn slow_clone_caret_color( &self, ) -> GenericCaretColor<GenericColor<Percentage>>
Clones the computed value of a given property. Prefer get_caret_color
where a reference is enough.
Sourcepub fn caret_color_equals(&self, other: &ComputedValues) -> bool
pub fn caret_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_clip(
&self,
) -> &GenericClipRectOrAuto<GenericClipRect<GenericLengthPercentageOrAuto<CSSPixelLength>>>
pub fn get_clip( &self, ) -> &GenericClipRectOrAuto<GenericClipRect<GenericLengthPercentageOrAuto<CSSPixelLength>>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_clip(
&self,
) -> GenericClipRectOrAuto<GenericClipRect<GenericLengthPercentageOrAuto<CSSPixelLength>>>
pub fn slow_clone_clip( &self, ) -> GenericClipRectOrAuto<GenericClipRect<GenericLengthPercentageOrAuto<CSSPixelLength>>>
Clones the computed value of a given property. Prefer get_clip
where a reference is enough.
Sourcepub fn clip_equals(&self, other: &ComputedValues) -> bool
pub fn clip_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_clip_path(
&self,
) -> &GenericClipPath<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, ComputedUrl>
pub fn get_clip_path( &self, ) -> &GenericClipPath<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, ComputedUrl>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_clip_path(
&self,
) -> GenericClipPath<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, ComputedUrl>
pub fn slow_clone_clip_path( &self, ) -> GenericClipPath<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, ComputedUrl>
Clones the computed value of a given property. Prefer get_clip_path
where a reference is enough.
Sourcepub fn clip_path_equals(&self, other: &ComputedValues) -> bool
pub fn clip_path_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_color(&self) -> &AbsoluteColor
pub fn get_color(&self) -> &AbsoluteColor
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_color(&self) -> AbsoluteColor
pub fn slow_clone_color(&self) -> AbsoluteColor
Clones the computed value of a given property. Prefer get_color
where a reference is enough.
Sourcepub fn color_equals(&self, other: &ComputedValues) -> bool
pub fn color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_color_scheme(&self) -> &ColorScheme
pub fn get_color_scheme(&self) -> &ColorScheme
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_color_scheme(&self) -> ColorScheme
pub fn slow_clone_color_scheme(&self) -> ColorScheme
Clones the computed value of a given property. Prefer get_color_scheme
where a reference is enough.
Sourcepub fn color_scheme_equals(&self, other: &ComputedValues) -> bool
pub fn color_scheme_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_column_count(
&self,
) -> &GenericColumnCount<GreaterThanOrEqualToOne<i32>>
pub fn get_column_count( &self, ) -> &GenericColumnCount<GreaterThanOrEqualToOne<i32>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_column_count(
&self,
) -> GenericColumnCount<GreaterThanOrEqualToOne<i32>>
pub fn slow_clone_column_count( &self, ) -> GenericColumnCount<GreaterThanOrEqualToOne<i32>>
Clones the computed value of a given property. Prefer get_column_count
where a reference is enough.
Sourcepub fn column_count_equals(&self, other: &ComputedValues) -> bool
pub fn column_count_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_column_width(
&self,
) -> &GenericLengthPercentageOrAuto<NonNegative<CSSPixelLength>>
pub fn get_column_width( &self, ) -> &GenericLengthPercentageOrAuto<NonNegative<CSSPixelLength>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_column_width(
&self,
) -> GenericLengthPercentageOrAuto<NonNegative<CSSPixelLength>>
pub fn slow_clone_column_width( &self, ) -> GenericLengthPercentageOrAuto<NonNegative<CSSPixelLength>>
Clones the computed value of a given property. Prefer get_column_width
where a reference is enough.
Sourcepub fn column_width_equals(&self, other: &ComputedValues) -> bool
pub fn column_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_container_name(&self) -> &ContainerName
pub fn get_container_name(&self) -> &ContainerName
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_container_name(&self) -> ContainerName
pub fn slow_clone_container_name(&self) -> ContainerName
Clones the computed value of a given property. Prefer get_container_name
where a reference is enough.
Sourcepub fn container_name_equals(&self, other: &ComputedValues) -> bool
pub fn container_name_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_content(
&self,
) -> &GenericContent<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
pub fn get_content( &self, ) -> &GenericContent<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_content(
&self,
) -> GenericContent<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
pub fn slow_clone_content( &self, ) -> GenericContent<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
Clones the computed value of a given property. Prefer get_content
where a reference is enough.
Sourcepub fn content_equals(&self, other: &ComputedValues) -> bool
pub fn content_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_counter_increment(&self) -> &GenericCounterIncrement<i32>
pub fn get_counter_increment(&self) -> &GenericCounterIncrement<i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_counter_increment(&self) -> GenericCounterIncrement<i32>
pub fn slow_clone_counter_increment(&self) -> GenericCounterIncrement<i32>
Clones the computed value of a given property. Prefer get_counter_increment
where a reference is enough.
Sourcepub fn counter_increment_equals(&self, other: &ComputedValues) -> bool
pub fn counter_increment_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_counter_reset(&self) -> &GenericCounterReset<i32>
pub fn get_counter_reset(&self) -> &GenericCounterReset<i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_counter_reset(&self) -> GenericCounterReset<i32>
pub fn slow_clone_counter_reset(&self) -> GenericCounterReset<i32>
Clones the computed value of a given property. Prefer get_counter_reset
where a reference is enough.
Sourcepub fn counter_reset_equals(&self, other: &ComputedValues) -> bool
pub fn counter_reset_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_cursor(
&self,
) -> &GenericCursor<GenericCursorImage<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>
pub fn get_cursor( &self, ) -> &GenericCursor<GenericCursorImage<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_cursor(
&self,
) -> GenericCursor<GenericCursorImage<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>
pub fn slow_clone_cursor( &self, ) -> GenericCursor<GenericCursorImage<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>
Clones the computed value of a given property. Prefer get_cursor
where a reference is enough.
Sourcepub fn cursor_equals(&self, other: &ComputedValues) -> bool
pub fn cursor_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_d(&self) -> DProperty
pub fn slow_clone_d(&self) -> DProperty
Clones the computed value of a given property. Prefer get_d
where a reference is enough.
Sourcepub fn d_equals(&self, other: &ComputedValues) -> bool
pub fn d_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_filter(
&self,
) -> &[GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>]
pub fn get_filter( &self, ) -> &[GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>]
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_filter(
&self,
) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>
pub fn slow_clone_filter( &self, ) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>
Clones the computed value of a given property. Prefer get_filter
where a reference is enough.
Sourcepub fn filter_equals(&self, other: &ComputedValues) -> bool
pub fn filter_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_basis(
&self,
) -> &GenericFlexBasis<GenericSize<NonNegative<LengthPercentage>>>
pub fn get_flex_basis( &self, ) -> &GenericFlexBasis<GenericSize<NonNegative<LengthPercentage>>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_basis(
&self,
) -> GenericFlexBasis<GenericSize<NonNegative<LengthPercentage>>>
pub fn slow_clone_flex_basis( &self, ) -> GenericFlexBasis<GenericSize<NonNegative<LengthPercentage>>>
Clones the computed value of a given property. Prefer get_flex_basis
where a reference is enough.
Sourcepub fn flex_basis_equals(&self, other: &ComputedValues) -> bool
pub fn flex_basis_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_family(&self) -> &FontFamily
pub fn get_font_family(&self) -> &FontFamily
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_family(&self) -> FontFamily
pub fn slow_clone_font_family(&self) -> FontFamily
Clones the computed value of a given property. Prefer get_font_family
where a reference is enough.
Sourcepub fn font_family_equals(&self, other: &ComputedValues) -> bool
pub fn font_family_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_feature_settings(&self) -> &FontSettings<FeatureTagValue<i32>>
pub fn get_font_feature_settings(&self) -> &FontSettings<FeatureTagValue<i32>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_feature_settings(
&self,
) -> FontSettings<FeatureTagValue<i32>>
pub fn slow_clone_font_feature_settings( &self, ) -> FontSettings<FeatureTagValue<i32>>
Clones the computed value of a given property. Prefer get_font_feature_settings
where a reference is enough.
Sourcepub fn font_feature_settings_equals(&self, other: &ComputedValues) -> bool
pub fn font_feature_settings_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_font_size(&self) -> FontSize
pub fn slow_clone_font_size(&self) -> FontSize
Clones the computed value of a given property. Prefer get_font_size
where a reference is enough.
Sourcepub fn font_size_equals(&self, other: &ComputedValues) -> bool
pub fn font_size_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_size_adjust(&self) -> &GenericFontSizeAdjust<NonNegative<f32>>
pub fn get_font_size_adjust(&self) -> &GenericFontSizeAdjust<NonNegative<f32>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_size_adjust(
&self,
) -> GenericFontSizeAdjust<NonNegative<f32>>
pub fn slow_clone_font_size_adjust( &self, ) -> GenericFontSizeAdjust<NonNegative<f32>>
Clones the computed value of a given property. Prefer get_font_size_adjust
where a reference is enough.
Sourcepub fn font_size_adjust_equals(&self, other: &ComputedValues) -> bool
pub fn font_size_adjust_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_style(&self) -> &FontStyle
pub fn get_font_style(&self) -> &FontStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_style(&self) -> FontStyle
pub fn slow_clone_font_style(&self) -> FontStyle
Clones the computed value of a given property. Prefer get_font_style
where a reference is enough.
Sourcepub fn font_style_equals(&self, other: &ComputedValues) -> bool
pub fn font_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_alternates(&self) -> &FontVariantAlternates
pub fn get_font_variant_alternates(&self) -> &FontVariantAlternates
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_alternates(&self) -> FontVariantAlternates
pub fn slow_clone_font_variant_alternates(&self) -> FontVariantAlternates
Clones the computed value of a given property. Prefer get_font_variant_alternates
where a reference is enough.
Sourcepub fn font_variant_alternates_equals(&self, other: &ComputedValues) -> bool
pub fn font_variant_alternates_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variation_settings(&self) -> &FontSettings<VariationValue<f32>>
pub fn get_font_variation_settings(&self) -> &FontSettings<VariationValue<f32>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variation_settings(
&self,
) -> FontSettings<VariationValue<f32>>
pub fn slow_clone_font_variation_settings( &self, ) -> FontSettings<VariationValue<f32>>
Clones the computed value of a given property. Prefer get_font_variation_settings
where a reference is enough.
Sourcepub fn font_variation_settings_equals(&self, other: &ComputedValues) -> bool
pub fn font_variation_settings_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_weight(&self) -> &FontWeight
pub fn get_font_weight(&self) -> &FontWeight
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_weight(&self) -> FontWeight
pub fn slow_clone_font_weight(&self) -> FontWeight
Clones the computed value of a given property. Prefer get_font_weight
where a reference is enough.
Sourcepub fn font_weight_equals(&self, other: &ComputedValues) -> bool
pub fn font_weight_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_width(&self) -> &FontWidth
pub fn get_font_width(&self) -> &FontWidth
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_width(&self) -> FontWidth
pub fn slow_clone_font_width(&self) -> FontWidth
Clones the computed value of a given property. Prefer get_font_width
where a reference is enough.
Sourcepub fn font_width_equals(&self, other: &ComputedValues) -> bool
pub fn font_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_template_areas(&self) -> &GridTemplateAreas
pub fn get_grid_template_areas(&self) -> &GridTemplateAreas
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_template_areas(&self) -> GridTemplateAreas
pub fn slow_clone_grid_template_areas(&self) -> GridTemplateAreas
Clones the computed value of a given property. Prefer get_grid_template_areas
where a reference is enough.
Sourcepub fn grid_template_areas_equals(&self, other: &ComputedValues) -> bool
pub fn grid_template_areas_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_hyphenate_character(&self) -> &HyphenateCharacter
pub fn get_hyphenate_character(&self) -> &HyphenateCharacter
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_hyphenate_character(&self) -> HyphenateCharacter
pub fn slow_clone_hyphenate_character(&self) -> HyphenateCharacter
Clones the computed value of a given property. Prefer get_hyphenate_character
where a reference is enough.
Sourcepub fn hyphenate_character_equals(&self, other: &ComputedValues) -> bool
pub fn hyphenate_character_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_initial_letter(&self) -> &GenericInitialLetter<f32, i32>
pub fn get_initial_letter(&self) -> &GenericInitialLetter<f32, i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_initial_letter(&self) -> GenericInitialLetter<f32, i32>
pub fn slow_clone_initial_letter(&self) -> GenericInitialLetter<f32, i32>
Clones the computed value of a given property. Prefer get_initial_letter
where a reference is enough.
Sourcepub fn initial_letter_equals(&self, other: &ComputedValues) -> bool
pub fn initial_letter_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_letter_spacing(&self) -> &GenericLetterSpacing<LengthPercentage>
pub fn get_letter_spacing(&self) -> &GenericLetterSpacing<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_letter_spacing(
&self,
) -> GenericLetterSpacing<LengthPercentage>
pub fn slow_clone_letter_spacing( &self, ) -> GenericLetterSpacing<LengthPercentage>
Clones the computed value of a given property. Prefer get_letter_spacing
where a reference is enough.
Sourcepub fn letter_spacing_equals(&self, other: &ComputedValues) -> bool
pub fn letter_spacing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_line_clamp(&self) -> &GenericLineClamp<GreaterThanOrEqualToOne<i32>>
pub fn get_line_clamp(&self) -> &GenericLineClamp<GreaterThanOrEqualToOne<i32>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_line_clamp(
&self,
) -> GenericLineClamp<GreaterThanOrEqualToOne<i32>>
pub fn slow_clone_line_clamp( &self, ) -> GenericLineClamp<GreaterThanOrEqualToOne<i32>>
Clones the computed value of a given property. Prefer get_line_clamp
where a reference is enough.
Sourcepub fn line_clamp_equals(&self, other: &ComputedValues) -> bool
pub fn line_clamp_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_line_height(
&self,
) -> &GenericLineHeight<NonNegative<f32>, NonNegative<CSSPixelLength>>
pub fn get_line_height( &self, ) -> &GenericLineHeight<NonNegative<f32>, NonNegative<CSSPixelLength>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_line_height(
&self,
) -> GenericLineHeight<NonNegative<f32>, NonNegative<CSSPixelLength>>
pub fn slow_clone_line_height( &self, ) -> GenericLineHeight<NonNegative<f32>, NonNegative<CSSPixelLength>>
Clones the computed value of a given property. Prefer get_line_height
where a reference is enough.
Sourcepub fn line_height_equals(&self, other: &ComputedValues) -> bool
pub fn line_height_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_list_style_type(&self) -> &ListStyleType
pub fn get_list_style_type(&self) -> &ListStyleType
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_list_style_type(&self) -> ListStyleType
pub fn slow_clone_list_style_type(&self) -> ListStyleType
Clones the computed value of a given property. Prefer get_list_style_type
where a reference is enough.
Sourcepub fn list_style_type_equals(&self, other: &ComputedValues) -> bool
pub fn list_style_type_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_clip(&self) -> OwnedList<BackgroundClip>
pub fn slow_clone_mask_clip(&self) -> OwnedList<BackgroundClip>
Clones the computed value of a given property. Prefer get_mask_clip
where a reference is enough.
Sourcepub fn mask_clip_equals(&self, other: &ComputedValues) -> bool
pub fn mask_clip_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_composite(&self) -> OwnedList<MaskComposite>
pub fn slow_clone_mask_composite(&self) -> OwnedList<MaskComposite>
Clones the computed value of a given property. Prefer get_mask_composite
where a reference is enough.
Sourcepub fn mask_composite_equals(&self, other: &ComputedValues) -> bool
pub fn mask_composite_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_image(
&self,
) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
pub fn slow_clone_mask_image( &self, ) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
Clones the computed value of a given property. Prefer get_mask_image
where a reference is enough.
Sourcepub fn mask_image_equals(&self, other: &ComputedValues) -> bool
pub fn mask_image_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_mode(&self) -> OwnedList<MaskMode>
pub fn slow_clone_mask_mode(&self) -> OwnedList<MaskMode>
Clones the computed value of a given property. Prefer get_mask_mode
where a reference is enough.
Sourcepub fn mask_mode_equals(&self, other: &ComputedValues) -> bool
pub fn mask_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_origin(&self) -> OwnedList<BackgroundOrigin>
pub fn slow_clone_mask_origin(&self) -> OwnedList<BackgroundOrigin>
Clones the computed value of a given property. Prefer get_mask_origin
where a reference is enough.
Sourcepub fn mask_origin_equals(&self, other: &ComputedValues) -> bool
pub fn mask_origin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_position_x(&self) -> OwnedList<LengthPercentage>
pub fn slow_clone_mask_position_x(&self) -> OwnedList<LengthPercentage>
Clones the computed value of a given property. Prefer get_mask_position_x
where a reference is enough.
Sourcepub fn mask_position_x_equals(&self, other: &ComputedValues) -> bool
pub fn mask_position_x_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_position_y(&self) -> OwnedList<LengthPercentage>
pub fn slow_clone_mask_position_y(&self) -> OwnedList<LengthPercentage>
Clones the computed value of a given property. Prefer get_mask_position_y
where a reference is enough.
Sourcepub fn mask_position_y_equals(&self, other: &ComputedValues) -> bool
pub fn mask_position_y_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_repeat(&self) -> OwnedList<BackgroundRepeat>
pub fn slow_clone_mask_repeat(&self) -> OwnedList<BackgroundRepeat>
Clones the computed value of a given property. Prefer get_mask_repeat
where a reference is enough.
Sourcepub fn mask_repeat_equals(&self, other: &ComputedValues) -> bool
pub fn mask_repeat_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_size(
&self,
) -> OwnedList<GenericBackgroundSize<NonNegative<LengthPercentage>>>
pub fn slow_clone_mask_size( &self, ) -> OwnedList<GenericBackgroundSize<NonNegative<LengthPercentage>>>
Clones the computed value of a given property. Prefer get_mask_size
where a reference is enough.
Sourcepub fn mask_size_equals(&self, other: &ComputedValues) -> bool
pub fn mask_size_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_math_depth(&self) -> &i8
pub fn get_math_depth(&self) -> &i8
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_math_depth(&self) -> i8
pub fn slow_clone_math_depth(&self) -> i8
Clones the computed value of a given property. Prefer get_math_depth
where a reference is enough.
Sourcepub fn math_depth_equals(&self, other: &ComputedValues) -> bool
pub fn math_depth_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get__moz_min_font_size_ratio(&self) -> &Percentage
pub fn get__moz_min_font_size_ratio(&self) -> &Percentage
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__moz_min_font_size_ratio(&self) -> Percentage
pub fn slow_clone__moz_min_font_size_ratio(&self) -> Percentage
Clones the computed value of a given property. Prefer get__moz_min_font_size_ratio
where a reference is enough.
Sourcepub fn _moz_min_font_size_ratio_equals(&self, other: &ComputedValues) -> bool
pub fn _moz_min_font_size_ratio_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_offset_path(
&self,
) -> &GenericOffsetPath<GenericOffsetPathFunction<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, GenericRayFunction<Angle, GenericPosition<LengthPercentage, LengthPercentage>>, ComputedUrl>>
pub fn get_offset_path( &self, ) -> &GenericOffsetPath<GenericOffsetPathFunction<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, GenericRayFunction<Angle, GenericPosition<LengthPercentage, LengthPercentage>>, ComputedUrl>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_offset_path(
&self,
) -> GenericOffsetPath<GenericOffsetPathFunction<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, GenericRayFunction<Angle, GenericPosition<LengthPercentage, LengthPercentage>>, ComputedUrl>>
pub fn slow_clone_offset_path( &self, ) -> GenericOffsetPath<GenericOffsetPathFunction<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, GenericRayFunction<Angle, GenericPosition<LengthPercentage, LengthPercentage>>, ComputedUrl>>
Clones the computed value of a given property. Prefer get_offset_path
where a reference is enough.
Sourcepub fn offset_path_equals(&self, other: &ComputedValues) -> bool
pub fn offset_path_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_opacity(&self) -> &f32
pub fn get_opacity(&self) -> &f32
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_opacity(&self) -> f32
pub fn slow_clone_opacity(&self) -> f32
Clones the computed value of a given property. Prefer get_opacity
where a reference is enough.
Sourcepub fn opacity_equals(&self, other: &ComputedValues) -> bool
pub fn opacity_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_outline_offset(&self) -> &Au
pub fn get_outline_offset(&self) -> &Au
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_outline_offset(&self) -> Au
pub fn slow_clone_outline_offset(&self) -> Au
Clones the computed value of a given property. Prefer get_outline_offset
where a reference is enough.
Sourcepub fn outline_offset_equals(&self, other: &ComputedValues) -> bool
pub fn outline_offset_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overflow_clip_margin(
&self,
) -> &GenericOverflowClipMargin<NonNegative<CSSPixelLength>>
pub fn get_overflow_clip_margin( &self, ) -> &GenericOverflowClipMargin<NonNegative<CSSPixelLength>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overflow_clip_margin(
&self,
) -> GenericOverflowClipMargin<NonNegative<CSSPixelLength>>
pub fn slow_clone_overflow_clip_margin( &self, ) -> GenericOverflowClipMargin<NonNegative<CSSPixelLength>>
Clones the computed value of a given property. Prefer get_overflow_clip_margin
where a reference is enough.
Sourcepub fn overflow_clip_margin_equals(&self, other: &ComputedValues) -> bool
pub fn overflow_clip_margin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_perspective(
&self,
) -> &GenericPerspective<NonNegative<CSSPixelLength>>
pub fn get_perspective( &self, ) -> &GenericPerspective<NonNegative<CSSPixelLength>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_perspective(
&self,
) -> GenericPerspective<NonNegative<CSSPixelLength>>
pub fn slow_clone_perspective( &self, ) -> GenericPerspective<NonNegative<CSSPixelLength>>
Clones the computed value of a given property. Prefer get_perspective
where a reference is enough.
Sourcepub fn perspective_equals(&self, other: &ComputedValues) -> bool
pub fn perspective_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_position_try_fallbacks(
&self,
) -> &TreeScoped<PositionTryFallbacksList>
pub fn get_position_try_fallbacks( &self, ) -> &TreeScoped<PositionTryFallbacksList>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_position_try_fallbacks(
&self,
) -> TreeScoped<PositionTryFallbacksList>
pub fn slow_clone_position_try_fallbacks( &self, ) -> TreeScoped<PositionTryFallbacksList>
Clones the computed value of a given property. Prefer get_position_try_fallbacks
where a reference is enough.
Sourcepub fn position_try_fallbacks_equals(&self, other: &ComputedValues) -> bool
pub fn position_try_fallbacks_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_quotes(&self) -> &Quotes
pub fn get_quotes(&self) -> &Quotes
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_quotes(&self) -> Quotes
pub fn slow_clone_quotes(&self) -> Quotes
Clones the computed value of a given property. Prefer get_quotes
where a reference is enough.
Sourcepub fn quotes_equals(&self, other: &ComputedValues) -> bool
pub fn quotes_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_rotate(&self) -> &GenericRotate<f32, Angle>
pub fn get_rotate(&self) -> &GenericRotate<f32, Angle>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_rotate(&self) -> GenericRotate<f32, Angle>
pub fn slow_clone_rotate(&self) -> GenericRotate<f32, Angle>
Clones the computed value of a given property. Prefer get_rotate
where a reference is enough.
Sourcepub fn rotate_equals(&self, other: &ComputedValues) -> bool
pub fn rotate_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_scale(&self) -> &GenericScale<f32>
pub fn get_scale(&self) -> &GenericScale<f32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_scale(&self) -> GenericScale<f32>
pub fn slow_clone_scale(&self) -> GenericScale<f32>
Clones the computed value of a given property. Prefer get_scale
where a reference is enough.
Sourcepub fn scale_equals(&self, other: &ComputedValues) -> bool
pub fn scale_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_scrollbar_color(
&self,
) -> &GenericScrollbarColor<GenericColor<Percentage>>
pub fn get_scrollbar_color( &self, ) -> &GenericScrollbarColor<GenericColor<Percentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_scrollbar_color(
&self,
) -> GenericScrollbarColor<GenericColor<Percentage>>
pub fn slow_clone_scrollbar_color( &self, ) -> GenericScrollbarColor<GenericColor<Percentage>>
Clones the computed value of a given property. Prefer get_scrollbar_color
where a reference is enough.
Sourcepub fn scrollbar_color_equals(&self, other: &ComputedValues) -> bool
pub fn scrollbar_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_dasharray(
&self,
) -> &GenericSVGStrokeDashArray<NonNegative<LengthPercentage>>
pub fn get_stroke_dasharray( &self, ) -> &GenericSVGStrokeDashArray<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_dasharray(
&self,
) -> GenericSVGStrokeDashArray<NonNegative<LengthPercentage>>
pub fn slow_clone_stroke_dasharray( &self, ) -> GenericSVGStrokeDashArray<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_stroke_dasharray
where a reference is enough.
Sourcepub fn stroke_dasharray_equals(&self, other: &ComputedValues) -> bool
pub fn stroke_dasharray_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_dashoffset(&self) -> &GenericSVGLength<LengthPercentage>
pub fn get_stroke_dashoffset(&self) -> &GenericSVGLength<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_dashoffset(&self) -> GenericSVGLength<LengthPercentage>
pub fn slow_clone_stroke_dashoffset(&self) -> GenericSVGLength<LengthPercentage>
Clones the computed value of a given property. Prefer get_stroke_dashoffset
where a reference is enough.
Sourcepub fn stroke_dashoffset_equals(&self, other: &ComputedValues) -> bool
pub fn stroke_dashoffset_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_width(
&self,
) -> &GenericSVGLength<NonNegative<LengthPercentage>>
pub fn get_stroke_width( &self, ) -> &GenericSVGLength<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_width(
&self,
) -> GenericSVGLength<NonNegative<LengthPercentage>>
pub fn slow_clone_stroke_width( &self, ) -> GenericSVGLength<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_stroke_width
where a reference is enough.
Sourcepub fn stroke_width_equals(&self, other: &ComputedValues) -> bool
pub fn stroke_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_tab_size(
&self,
) -> &GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>
pub fn get_tab_size( &self, ) -> &GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_tab_size(
&self,
) -> GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>
pub fn slow_clone_tab_size( &self, ) -> GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>
Clones the computed value of a given property. Prefer get_tab_size
where a reference is enough.
Sourcepub fn tab_size_equals(&self, other: &ComputedValues) -> bool
pub fn tab_size_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_inset(
&self,
) -> &GenericTextDecorationInset<LengthPercentage>
pub fn get_text_decoration_inset( &self, ) -> &GenericTextDecorationInset<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_inset(
&self,
) -> GenericTextDecorationInset<LengthPercentage>
pub fn slow_clone_text_decoration_inset( &self, ) -> GenericTextDecorationInset<LengthPercentage>
Clones the computed value of a given property. Prefer get_text_decoration_inset
where a reference is enough.
Sourcepub fn text_decoration_inset_equals(&self, other: &ComputedValues) -> bool
pub fn text_decoration_inset_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_thickness(
&self,
) -> &GenericTextDecorationLength<LengthPercentage>
pub fn get_text_decoration_thickness( &self, ) -> &GenericTextDecorationLength<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_thickness(
&self,
) -> GenericTextDecorationLength<LengthPercentage>
pub fn slow_clone_text_decoration_thickness( &self, ) -> GenericTextDecorationLength<LengthPercentage>
Clones the computed value of a given property. Prefer get_text_decoration_thickness
where a reference is enough.
Sourcepub fn text_decoration_thickness_equals(&self, other: &ComputedValues) -> bool
pub fn text_decoration_thickness_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_emphasis_style(&self) -> &TextEmphasisStyle
pub fn get_text_emphasis_style(&self) -> &TextEmphasisStyle
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_emphasis_style(&self) -> TextEmphasisStyle
pub fn slow_clone_text_emphasis_style(&self) -> TextEmphasisStyle
Clones the computed value of a given property. Prefer get_text_emphasis_style
where a reference is enough.
Sourcepub fn text_emphasis_style_equals(&self, other: &ComputedValues) -> bool
pub fn text_emphasis_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_indent(&self) -> &GenericTextIndent<LengthPercentage>
pub fn get_text_indent(&self) -> &GenericTextIndent<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_indent(&self) -> GenericTextIndent<LengthPercentage>
pub fn slow_clone_text_indent(&self) -> GenericTextIndent<LengthPercentage>
Clones the computed value of a given property. Prefer get_text_indent
where a reference is enough.
Sourcepub fn text_indent_equals(&self, other: &ComputedValues) -> bool
pub fn text_indent_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_overflow(&self) -> &TextOverflow
pub fn get_text_overflow(&self) -> &TextOverflow
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_overflow(&self) -> TextOverflow
pub fn slow_clone_text_overflow(&self) -> TextOverflow
Clones the computed value of a given property. Prefer get_text_overflow
where a reference is enough.
Sourcepub fn text_overflow_equals(&self, other: &ComputedValues) -> bool
pub fn text_overflow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_shadow(
&self,
) -> &[GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>]
pub fn get_text_shadow( &self, ) -> &[GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>]
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_shadow(&self) -> ComputedList
pub fn slow_clone_text_shadow(&self) -> ComputedList
Clones the computed value of a given property. Prefer get_text_shadow
where a reference is enough.
Sourcepub fn text_shadow_equals(&self, other: &ComputedValues) -> bool
pub fn text_shadow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_underline_offset(
&self,
) -> &GenericLengthPercentageOrAuto<LengthPercentage>
pub fn get_text_underline_offset( &self, ) -> &GenericLengthPercentageOrAuto<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_underline_offset(
&self,
) -> GenericLengthPercentageOrAuto<LengthPercentage>
pub fn slow_clone_text_underline_offset( &self, ) -> GenericLengthPercentageOrAuto<LengthPercentage>
Clones the computed value of a given property. Prefer get_text_underline_offset
where a reference is enough.
Sourcepub fn text_underline_offset_equals(&self, other: &ComputedValues) -> bool
pub fn text_underline_offset_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_transform(
&self,
) -> &GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>
pub fn get_transform( &self, ) -> &GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_transform(
&self,
) -> GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>
pub fn slow_clone_transform( &self, ) -> GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>
Clones the computed value of a given property. Prefer get_transform
where a reference is enough.
Sourcepub fn transform_equals(&self, other: &ComputedValues) -> bool
pub fn transform_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_transform_origin(
&self,
) -> &GenericTransformOrigin<LengthPercentage, LengthPercentage, CSSPixelLength>
pub fn get_transform_origin( &self, ) -> &GenericTransformOrigin<LengthPercentage, LengthPercentage, CSSPixelLength>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_transform_origin(
&self,
) -> GenericTransformOrigin<LengthPercentage, LengthPercentage, CSSPixelLength>
pub fn slow_clone_transform_origin( &self, ) -> GenericTransformOrigin<LengthPercentage, LengthPercentage, CSSPixelLength>
Clones the computed value of a given property. Prefer get_transform_origin
where a reference is enough.
Sourcepub fn transform_origin_equals(&self, other: &ComputedValues) -> bool
pub fn transform_origin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_behavior(&self) -> OwnedList<TransitionBehavior>
pub fn slow_clone_transition_behavior(&self) -> OwnedList<TransitionBehavior>
Clones the computed value of a given property. Prefer get_transition_behavior
where a reference is enough.
Sourcepub fn transition_behavior_equals(&self, other: &ComputedValues) -> bool
pub fn transition_behavior_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_delay(&self) -> OwnedList<Time>
pub fn slow_clone_transition_delay(&self) -> OwnedList<Time>
Clones the computed value of a given property. Prefer get_transition_delay
where a reference is enough.
Sourcepub fn transition_delay_equals(&self, other: &ComputedValues) -> bool
pub fn transition_delay_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_duration(&self) -> OwnedList<Time>
pub fn slow_clone_transition_duration(&self) -> OwnedList<Time>
Clones the computed value of a given property. Prefer get_transition_duration
where a reference is enough.
Sourcepub fn transition_duration_equals(&self, other: &ComputedValues) -> bool
pub fn transition_duration_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_property(&self) -> OwnedList<TransitionProperty>
pub fn slow_clone_transition_property(&self) -> OwnedList<TransitionProperty>
Clones the computed value of a given property. Prefer get_transition_property
where a reference is enough.
Sourcepub fn transition_property_equals(&self, other: &ComputedValues) -> bool
pub fn transition_property_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_timing_function(
&self,
) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>
pub fn slow_clone_transition_timing_function( &self, ) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>
Clones the computed value of a given property. Prefer get_transition_timing_function
where a reference is enough.
Sourcepub fn transition_timing_function_equals(&self, other: &ComputedValues) -> bool
pub fn transition_timing_function_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_translate(
&self,
) -> &GenericTranslate<LengthPercentage, CSSPixelLength>
pub fn get_translate( &self, ) -> &GenericTranslate<LengthPercentage, CSSPixelLength>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_translate(
&self,
) -> GenericTranslate<LengthPercentage, CSSPixelLength>
pub fn slow_clone_translate( &self, ) -> GenericTranslate<LengthPercentage, CSSPixelLength>
Clones the computed value of a given property. Prefer get_translate
where a reference is enough.
Sourcepub fn translate_equals(&self, other: &ComputedValues) -> bool
pub fn translate_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_view_transition_class(&self) -> &TreeScoped<ViewTransitionClassList>
pub fn get_view_transition_class(&self) -> &TreeScoped<ViewTransitionClassList>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_view_transition_class(
&self,
) -> TreeScoped<ViewTransitionClassList>
pub fn slow_clone_view_transition_class( &self, ) -> TreeScoped<ViewTransitionClassList>
Clones the computed value of a given property. Prefer get_view_transition_class
where a reference is enough.
Sourcepub fn view_transition_class_equals(&self, other: &ComputedValues) -> bool
pub fn view_transition_class_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_view_transition_name(&self) -> &TreeScoped<ViewTransitionNameKeyword>
pub fn get_view_transition_name(&self) -> &TreeScoped<ViewTransitionNameKeyword>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_view_transition_name(
&self,
) -> TreeScoped<ViewTransitionNameKeyword>
pub fn slow_clone_view_transition_name( &self, ) -> TreeScoped<ViewTransitionNameKeyword>
Clones the computed value of a given property. Prefer get_view_transition_name
where a reference is enough.
Sourcepub fn view_transition_name_equals(&self, other: &ComputedValues) -> bool
pub fn view_transition_name_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_will_change(&self) -> &WillChange
pub fn get_will_change(&self) -> &WillChange
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_will_change(&self) -> WillChange
pub fn slow_clone_will_change(&self) -> WillChange
Clones the computed value of a given property. Prefer get_will_change
where a reference is enough.
Sourcepub fn will_change_equals(&self, other: &ComputedValues) -> bool
pub fn will_change_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_word_spacing(&self) -> &LengthPercentage
pub fn get_word_spacing(&self) -> &LengthPercentage
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_word_spacing(&self) -> LengthPercentage
pub fn slow_clone_word_spacing(&self) -> LengthPercentage
Clones the computed value of a given property. Prefer get_word_spacing
where a reference is enough.
Sourcepub fn word_spacing_equals(&self, other: &ComputedValues) -> bool
pub fn word_spacing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get__x_lang(&self) -> &XLang
pub fn get__x_lang(&self) -> &XLang
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__x_lang(&self) -> XLang
pub fn slow_clone__x_lang(&self) -> XLang
Clones the computed value of a given property. Prefer get__x_lang
where a reference is enough.
Sourcepub fn _x_lang_equals(&self, other: &ComputedValues) -> bool
pub fn _x_lang_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_z_index(&self) -> &GenericZIndex<i32>
pub fn get_z_index(&self) -> &GenericZIndex<i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_z_index(&self) -> GenericZIndex<i32>
pub fn slow_clone_z_index(&self) -> GenericZIndex<i32>
Clones the computed value of a given property. Prefer get_z_index
where a reference is enough.
Sourcepub fn z_index_equals(&self, other: &ComputedValues) -> bool
pub fn z_index_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_zoom(&self) -> Zoom
pub fn slow_clone_zoom(&self) -> Zoom
Clones the computed value of a given property. Prefer get_zoom
where a reference is enough.
Sourcepub fn zoom_equals(&self, other: &ComputedValues) -> bool
pub fn zoom_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_object_position(
&self,
) -> &GenericPosition<LengthPercentage, LengthPercentage>
pub fn get_object_position( &self, ) -> &GenericPosition<LengthPercentage, LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_object_position(
&self,
) -> GenericPosition<LengthPercentage, LengthPercentage>
pub fn slow_clone_object_position( &self, ) -> GenericPosition<LengthPercentage, LengthPercentage>
Clones the computed value of a given property. Prefer get_object_position
where a reference is enough.
Sourcepub fn object_position_equals(&self, other: &ComputedValues) -> bool
pub fn object_position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_perspective_origin(
&self,
) -> &GenericPosition<LengthPercentage, LengthPercentage>
pub fn get_perspective_origin( &self, ) -> &GenericPosition<LengthPercentage, LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_perspective_origin(
&self,
) -> GenericPosition<LengthPercentage, LengthPercentage>
pub fn slow_clone_perspective_origin( &self, ) -> GenericPosition<LengthPercentage, LengthPercentage>
Clones the computed value of a given property. Prefer get_perspective_origin
where a reference is enough.
Sourcepub fn perspective_origin_equals(&self, other: &ComputedValues) -> bool
pub fn perspective_origin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_fill(
&self,
) -> &GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>
pub fn get_fill( &self, ) -> &GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_fill(
&self,
) -> GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>
pub fn slow_clone_fill( &self, ) -> GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>
Clones the computed value of a given property. Prefer get_fill
where a reference is enough.
Sourcepub fn fill_equals(&self, other: &ComputedValues) -> bool
pub fn fill_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke(
&self,
) -> &GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>
pub fn get_stroke( &self, ) -> &GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke(
&self,
) -> GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>
pub fn slow_clone_stroke( &self, ) -> GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>
Clones the computed value of a given property. Prefer get_stroke
where a reference is enough.
Sourcepub fn stroke_equals(&self, other: &ComputedValues) -> bool
pub fn stroke_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_template_columns(
&self,
) -> &GenericGridTemplateComponent<LengthPercentage, i32>
pub fn get_grid_template_columns( &self, ) -> &GenericGridTemplateComponent<LengthPercentage, i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_template_columns(
&self,
) -> GenericGridTemplateComponent<LengthPercentage, i32>
pub fn slow_clone_grid_template_columns( &self, ) -> GenericGridTemplateComponent<LengthPercentage, i32>
Clones the computed value of a given property. Prefer get_grid_template_columns
where a reference is enough.
Sourcepub fn grid_template_columns_equals(&self, other: &ComputedValues) -> bool
pub fn grid_template_columns_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_template_rows(
&self,
) -> &GenericGridTemplateComponent<LengthPercentage, i32>
pub fn get_grid_template_rows( &self, ) -> &GenericGridTemplateComponent<LengthPercentage, i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_template_rows(
&self,
) -> GenericGridTemplateComponent<LengthPercentage, i32>
pub fn slow_clone_grid_template_rows( &self, ) -> GenericGridTemplateComponent<LengthPercentage, i32>
Clones the computed value of a given property. Prefer get_grid_template_rows
where a reference is enough.
Sourcepub fn grid_template_rows_equals(&self, other: &ComputedValues) -> bool
pub fn grid_template_rows_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_source(
&self,
) -> &GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
pub fn get_border_image_source( &self, ) -> &GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_source(
&self,
) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
pub fn slow_clone_border_image_source( &self, ) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
Clones the computed value of a given property. Prefer get_border_image_source
where a reference is enough.
Sourcepub fn border_image_source_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_source_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_list_style_image(
&self,
) -> &GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
pub fn get_list_style_image( &self, ) -> &GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_list_style_image(
&self,
) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
pub fn slow_clone_list_style_image( &self, ) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
Clones the computed value of a given property. Prefer get_list_style_image
where a reference is enough.
Sourcepub fn list_style_image_equals(&self, other: &ComputedValues) -> bool
pub fn list_style_image_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_auto_columns(
&self,
) -> &GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
pub fn get_grid_auto_columns( &self, ) -> &GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_auto_columns(
&self,
) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
pub fn slow_clone_grid_auto_columns( &self, ) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
Clones the computed value of a given property. Prefer get_grid_auto_columns
where a reference is enough.
Sourcepub fn grid_auto_columns_equals(&self, other: &ComputedValues) -> bool
pub fn grid_auto_columns_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_auto_rows(
&self,
) -> &GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
pub fn get_grid_auto_rows( &self, ) -> &GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_auto_rows(
&self,
) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
pub fn slow_clone_grid_auto_rows( &self, ) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
Clones the computed value of a given property. Prefer get_grid_auto_rows
where a reference is enough.
Sourcepub fn grid_auto_rows_equals(&self, other: &ComputedValues) -> bool
pub fn grid_auto_rows_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_line_count(&self) -> &i32
pub fn get_flex_line_count(&self) -> &i32
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_line_count(&self) -> i32
pub fn slow_clone_flex_line_count(&self) -> i32
Clones the computed value of a given property. Prefer get_flex_line_count
where a reference is enough.
Sourcepub fn flex_line_count_equals(&self, other: &ComputedValues) -> bool
pub fn flex_line_count_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_order(&self) -> i32
pub fn slow_clone_order(&self) -> i32
Clones the computed value of a given property. Prefer get_order
where a reference is enough.
Sourcepub fn order_equals(&self, other: &ComputedValues) -> bool
pub fn order_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_rx(
&self,
) -> &GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>
pub fn get_rx( &self, ) -> &GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_rx(
&self,
) -> GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>
pub fn slow_clone_rx( &self, ) -> GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_rx
where a reference is enough.
Sourcepub fn rx_equals(&self, other: &ComputedValues) -> bool
pub fn rx_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_ry(
&self,
) -> &GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>
pub fn get_ry( &self, ) -> &GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_ry(
&self,
) -> GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>
pub fn slow_clone_ry( &self, ) -> GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_ry
where a reference is enough.
Sourcepub fn ry_equals(&self, other: &ComputedValues) -> bool
pub fn ry_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_fill_opacity(&self) -> &GenericSVGOpacity<f32>
pub fn get_fill_opacity(&self) -> &GenericSVGOpacity<f32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_fill_opacity(&self) -> GenericSVGOpacity<f32>
pub fn slow_clone_fill_opacity(&self) -> GenericSVGOpacity<f32>
Clones the computed value of a given property. Prefer get_fill_opacity
where a reference is enough.
Sourcepub fn fill_opacity_equals(&self, other: &ComputedValues) -> bool
pub fn fill_opacity_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_opacity(&self) -> &GenericSVGOpacity<f32>
pub fn get_stroke_opacity(&self) -> &GenericSVGOpacity<f32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_opacity(&self) -> GenericSVGOpacity<f32>
pub fn slow_clone_stroke_opacity(&self) -> GenericSVGOpacity<f32>
Clones the computed value of a given property. Prefer get_stroke_opacity
where a reference is enough.
Sourcepub fn stroke_opacity_equals(&self, other: &ComputedValues) -> bool
pub fn stroke_opacity_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_column_gap(
&self,
) -> &GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
pub fn get_column_gap( &self, ) -> &GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_column_gap(
&self,
) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
pub fn slow_clone_column_gap( &self, ) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_column_gap
where a reference is enough.
Sourcepub fn column_gap_equals(&self, other: &ComputedValues) -> bool
pub fn column_gap_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_row_gap(
&self,
) -> &GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
pub fn get_row_gap( &self, ) -> &GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_row_gap(
&self,
) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
pub fn slow_clone_row_gap( &self, ) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_row_gap
where a reference is enough.
Sourcepub fn row_gap_equals(&self, other: &ComputedValues) -> bool
pub fn row_gap_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_grow(&self) -> &NonNegative<f32>
pub fn get_flex_grow(&self) -> &NonNegative<f32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_grow(&self) -> NonNegative<f32>
pub fn slow_clone_flex_grow(&self) -> NonNegative<f32>
Clones the computed value of a given property. Prefer get_flex_grow
where a reference is enough.
Sourcepub fn flex_grow_equals(&self, other: &ComputedValues) -> bool
pub fn flex_grow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_shrink(&self) -> &NonNegative<f32>
pub fn get_flex_shrink(&self) -> &NonNegative<f32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_shrink(&self) -> NonNegative<f32>
pub fn slow_clone_flex_shrink(&self) -> NonNegative<f32>
Clones the computed value of a given property. Prefer get_flex_shrink
where a reference is enough.
Sourcepub fn flex_shrink_equals(&self, other: &ComputedValues) -> bool
pub fn flex_shrink_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_miterlimit(&self) -> &NonNegative<f32>
pub fn get_stroke_miterlimit(&self) -> &NonNegative<f32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_miterlimit(&self) -> NonNegative<f32>
pub fn slow_clone_stroke_miterlimit(&self) -> NonNegative<f32>
Clones the computed value of a given property. Prefer get_stroke_miterlimit
where a reference is enough.
Sourcepub fn stroke_miterlimit_equals(&self, other: &ComputedValues) -> bool
pub fn stroke_miterlimit_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_column_end(&self) -> &GenericGridLine<i32>
pub fn get_grid_column_end(&self) -> &GenericGridLine<i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_column_end(&self) -> GenericGridLine<i32>
pub fn slow_clone_grid_column_end(&self) -> GenericGridLine<i32>
Clones the computed value of a given property. Prefer get_grid_column_end
where a reference is enough.
Sourcepub fn grid_column_end_equals(&self, other: &ComputedValues) -> bool
pub fn grid_column_end_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_column_start(&self) -> &GenericGridLine<i32>
pub fn get_grid_column_start(&self) -> &GenericGridLine<i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_column_start(&self) -> GenericGridLine<i32>
pub fn slow_clone_grid_column_start(&self) -> GenericGridLine<i32>
Clones the computed value of a given property. Prefer get_grid_column_start
where a reference is enough.
Sourcepub fn grid_column_start_equals(&self, other: &ComputedValues) -> bool
pub fn grid_column_start_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_row_end(&self) -> &GenericGridLine<i32>
pub fn get_grid_row_end(&self) -> &GenericGridLine<i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_row_end(&self) -> GenericGridLine<i32>
pub fn slow_clone_grid_row_end(&self) -> GenericGridLine<i32>
Clones the computed value of a given property. Prefer get_grid_row_end
where a reference is enough.
Sourcepub fn grid_row_end_equals(&self, other: &ComputedValues) -> bool
pub fn grid_row_end_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_row_start(&self) -> &GenericGridLine<i32>
pub fn get_grid_row_start(&self) -> &GenericGridLine<i32>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_row_start(&self) -> GenericGridLine<i32>
pub fn slow_clone_grid_row_start(&self) -> GenericGridLine<i32>
Clones the computed value of a given property. Prefer get_grid_row_start
where a reference is enough.
Sourcepub fn grid_row_start_equals(&self, other: &ComputedValues) -> bool
pub fn grid_row_start_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_cx(&self) -> &LengthPercentage
pub fn get_cx(&self) -> &LengthPercentage
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_cx(&self) -> LengthPercentage
pub fn slow_clone_cx(&self) -> LengthPercentage
Clones the computed value of a given property. Prefer get_cx
where a reference is enough.
Sourcepub fn cx_equals(&self, other: &ComputedValues) -> bool
pub fn cx_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_cy(&self) -> &LengthPercentage
pub fn get_cy(&self) -> &LengthPercentage
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_cy(&self) -> LengthPercentage
pub fn slow_clone_cy(&self) -> LengthPercentage
Clones the computed value of a given property. Prefer get_cy
where a reference is enough.
Sourcepub fn cy_equals(&self, other: &ComputedValues) -> bool
pub fn cy_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_x(&self) -> &LengthPercentage
pub fn get_x(&self) -> &LengthPercentage
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_x(&self) -> LengthPercentage
pub fn slow_clone_x(&self) -> LengthPercentage
Clones the computed value of a given property. Prefer get_x
where a reference is enough.
Sourcepub fn x_equals(&self, other: &ComputedValues) -> bool
pub fn x_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_y(&self) -> &LengthPercentage
pub fn get_y(&self) -> &LengthPercentage
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_y(&self) -> LengthPercentage
pub fn slow_clone_y(&self) -> LengthPercentage
Clones the computed value of a given property. Prefer get_y
where a reference is enough.
Sourcepub fn y_equals(&self, other: &ComputedValues) -> bool
pub fn y_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_max_height(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
pub fn get_max_height(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_max_height(
&self,
) -> GenericMaxSize<NonNegative<LengthPercentage>>
pub fn slow_clone_max_height( &self, ) -> GenericMaxSize<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_max_height
where a reference is enough.
Sourcepub fn max_height_equals(&self, other: &ComputedValues) -> bool
pub fn max_height_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_max_width(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
pub fn get_max_width(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_max_width(
&self,
) -> GenericMaxSize<NonNegative<LengthPercentage>>
pub fn slow_clone_max_width( &self, ) -> GenericMaxSize<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_max_width
where a reference is enough.
Sourcepub fn max_width_equals(&self, other: &ComputedValues) -> bool
pub fn max_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_left_radius(
&self,
) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn get_border_bottom_left_radius( &self, ) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_left_radius(
&self,
) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn slow_clone_border_bottom_left_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_border_bottom_left_radius
where a reference is enough.
Sourcepub fn border_bottom_left_radius_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_left_radius_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_right_radius(
&self,
) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn get_border_bottom_right_radius( &self, ) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_right_radius(
&self,
) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn slow_clone_border_bottom_right_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_border_bottom_right_radius
where a reference is enough.
Sourcepub fn border_bottom_right_radius_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_right_radius_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_left_radius(
&self,
) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn get_border_top_left_radius( &self, ) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_left_radius(
&self,
) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn slow_clone_border_top_left_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_border_top_left_radius
where a reference is enough.
Sourcepub fn border_top_left_radius_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_left_radius_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_right_radius(
&self,
) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn get_border_top_right_radius( &self, ) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_right_radius(
&self,
) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn slow_clone_border_top_right_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_border_top_right_radius
where a reference is enough.
Sourcepub fn border_top_right_radius_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_right_radius_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_corner_bottom_left_shape(&self) -> &CornerShape
pub fn get_corner_bottom_left_shape(&self) -> &CornerShape
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_corner_bottom_left_shape(&self) -> CornerShape
pub fn slow_clone_corner_bottom_left_shape(&self) -> CornerShape
Clones the computed value of a given property. Prefer get_corner_bottom_left_shape
where a reference is enough.
Sourcepub fn corner_bottom_left_shape_equals(&self, other: &ComputedValues) -> bool
pub fn corner_bottom_left_shape_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_corner_bottom_right_shape(&self) -> &CornerShape
pub fn get_corner_bottom_right_shape(&self) -> &CornerShape
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_corner_bottom_right_shape(&self) -> CornerShape
pub fn slow_clone_corner_bottom_right_shape(&self) -> CornerShape
Clones the computed value of a given property. Prefer get_corner_bottom_right_shape
where a reference is enough.
Sourcepub fn corner_bottom_right_shape_equals(&self, other: &ComputedValues) -> bool
pub fn corner_bottom_right_shape_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_corner_top_left_shape(&self) -> &CornerShape
pub fn get_corner_top_left_shape(&self) -> &CornerShape
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_corner_top_left_shape(&self) -> CornerShape
pub fn slow_clone_corner_top_left_shape(&self) -> CornerShape
Clones the computed value of a given property. Prefer get_corner_top_left_shape
where a reference is enough.
Sourcepub fn corner_top_left_shape_equals(&self, other: &ComputedValues) -> bool
pub fn corner_top_left_shape_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_corner_top_right_shape(&self) -> &CornerShape
pub fn get_corner_top_right_shape(&self) -> &CornerShape
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_corner_top_right_shape(&self) -> CornerShape
pub fn slow_clone_corner_top_right_shape(&self) -> CornerShape
Clones the computed value of a given property. Prefer get_corner_top_right_shape
where a reference is enough.
Sourcepub fn corner_top_right_shape_equals(&self, other: &ComputedValues) -> bool
pub fn corner_top_right_shape_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_bottom(&self) -> &GenericInset<Percentage, LengthPercentage>
pub fn get_bottom(&self) -> &GenericInset<Percentage, LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_bottom(&self) -> GenericInset<Percentage, LengthPercentage>
pub fn slow_clone_bottom(&self) -> GenericInset<Percentage, LengthPercentage>
Clones the computed value of a given property. Prefer get_bottom
where a reference is enough.
Sourcepub fn bottom_equals(&self, other: &ComputedValues) -> bool
pub fn bottom_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_left(&self) -> &GenericInset<Percentage, LengthPercentage>
pub fn get_left(&self) -> &GenericInset<Percentage, LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_left(&self) -> GenericInset<Percentage, LengthPercentage>
pub fn slow_clone_left(&self) -> GenericInset<Percentage, LengthPercentage>
Clones the computed value of a given property. Prefer get_left
where a reference is enough.
Sourcepub fn left_equals(&self, other: &ComputedValues) -> bool
pub fn left_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_right(&self) -> &GenericInset<Percentage, LengthPercentage>
pub fn get_right(&self) -> &GenericInset<Percentage, LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_right(&self) -> GenericInset<Percentage, LengthPercentage>
pub fn slow_clone_right(&self) -> GenericInset<Percentage, LengthPercentage>
Clones the computed value of a given property. Prefer get_right
where a reference is enough.
Sourcepub fn right_equals(&self, other: &ComputedValues) -> bool
pub fn right_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_top(&self) -> &GenericInset<Percentage, LengthPercentage>
pub fn get_top(&self) -> &GenericInset<Percentage, LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_top(&self) -> GenericInset<Percentage, LengthPercentage>
pub fn slow_clone_top(&self) -> GenericInset<Percentage, LengthPercentage>
Clones the computed value of a given property. Prefer get_top
where a reference is enough.
Sourcepub fn top_equals(&self, other: &ComputedValues) -> bool
pub fn top_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_margin_bottom(&self) -> &GenericMargin<LengthPercentage>
pub fn get_margin_bottom(&self) -> &GenericMargin<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_margin_bottom(&self) -> GenericMargin<LengthPercentage>
pub fn slow_clone_margin_bottom(&self) -> GenericMargin<LengthPercentage>
Clones the computed value of a given property. Prefer get_margin_bottom
where a reference is enough.
Sourcepub fn margin_bottom_equals(&self, other: &ComputedValues) -> bool
pub fn margin_bottom_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_margin_left(&self) -> &GenericMargin<LengthPercentage>
pub fn get_margin_left(&self) -> &GenericMargin<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_margin_left(&self) -> GenericMargin<LengthPercentage>
pub fn slow_clone_margin_left(&self) -> GenericMargin<LengthPercentage>
Clones the computed value of a given property. Prefer get_margin_left
where a reference is enough.
Sourcepub fn margin_left_equals(&self, other: &ComputedValues) -> bool
pub fn margin_left_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_margin_right(&self) -> &GenericMargin<LengthPercentage>
pub fn get_margin_right(&self) -> &GenericMargin<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_margin_right(&self) -> GenericMargin<LengthPercentage>
pub fn slow_clone_margin_right(&self) -> GenericMargin<LengthPercentage>
Clones the computed value of a given property. Prefer get_margin_right
where a reference is enough.
Sourcepub fn margin_right_equals(&self, other: &ComputedValues) -> bool
pub fn margin_right_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_margin_top(&self) -> &GenericMargin<LengthPercentage>
pub fn get_margin_top(&self) -> &GenericMargin<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_margin_top(&self) -> GenericMargin<LengthPercentage>
pub fn slow_clone_margin_top(&self) -> GenericMargin<LengthPercentage>
Clones the computed value of a given property. Prefer get_margin_top
where a reference is enough.
Sourcepub fn margin_top_equals(&self, other: &ComputedValues) -> bool
pub fn margin_top_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_height(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn get_height(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_height(&self) -> GenericSize<NonNegative<LengthPercentage>>
pub fn slow_clone_height(&self) -> GenericSize<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_height
where a reference is enough.
Sourcepub fn height_equals(&self, other: &ComputedValues) -> bool
pub fn height_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_min_height(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn get_min_height(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_min_height(
&self,
) -> GenericSize<NonNegative<LengthPercentage>>
pub fn slow_clone_min_height( &self, ) -> GenericSize<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_min_height
where a reference is enough.
Sourcepub fn min_height_equals(&self, other: &ComputedValues) -> bool
pub fn min_height_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_min_width(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn get_min_width(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_min_width(&self) -> GenericSize<NonNegative<LengthPercentage>>
pub fn slow_clone_min_width(&self) -> GenericSize<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_min_width
where a reference is enough.
Sourcepub fn min_width_equals(&self, other: &ComputedValues) -> bool
pub fn min_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_width(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn get_width(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_width(&self) -> GenericSize<NonNegative<LengthPercentage>>
pub fn slow_clone_width(&self) -> GenericSize<NonNegative<LengthPercentage>>
Clones the computed value of a given property. Prefer get_width
where a reference is enough.
Sourcepub fn width_equals(&self, other: &ComputedValues) -> bool
pub fn width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_width(&self) -> &BorderSideWidth
pub fn get_border_bottom_width(&self) -> &BorderSideWidth
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_width(&self) -> BorderSideWidth
pub fn slow_clone_border_bottom_width(&self) -> BorderSideWidth
Clones the computed value of a given property. Prefer get_border_bottom_width
where a reference is enough.
Sourcepub fn border_bottom_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_left_width(&self) -> &BorderSideWidth
pub fn get_border_left_width(&self) -> &BorderSideWidth
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_left_width(&self) -> BorderSideWidth
pub fn slow_clone_border_left_width(&self) -> BorderSideWidth
Clones the computed value of a given property. Prefer get_border_left_width
where a reference is enough.
Sourcepub fn border_left_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_left_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_right_width(&self) -> &BorderSideWidth
pub fn get_border_right_width(&self) -> &BorderSideWidth
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_right_width(&self) -> BorderSideWidth
pub fn slow_clone_border_right_width(&self) -> BorderSideWidth
Clones the computed value of a given property. Prefer get_border_right_width
where a reference is enough.
Sourcepub fn border_right_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_right_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_width(&self) -> &BorderSideWidth
pub fn get_border_top_width(&self) -> &BorderSideWidth
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_width(&self) -> BorderSideWidth
pub fn slow_clone_border_top_width(&self) -> BorderSideWidth
Clones the computed value of a given property. Prefer get_border_top_width
where a reference is enough.
Sourcepub fn border_top_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_outline_width(&self) -> &BorderSideWidth
pub fn get_outline_width(&self) -> &BorderSideWidth
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_outline_width(&self) -> BorderSideWidth
pub fn slow_clone_outline_width(&self) -> BorderSideWidth
Clones the computed value of a given property. Prefer get_outline_width
where a reference is enough.
Sourcepub fn outline_width_equals(&self, other: &ComputedValues) -> bool
pub fn outline_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_padding_bottom(&self) -> &NonNegative<LengthPercentage>
pub fn get_padding_bottom(&self) -> &NonNegative<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_padding_bottom(&self) -> NonNegative<LengthPercentage>
pub fn slow_clone_padding_bottom(&self) -> NonNegative<LengthPercentage>
Clones the computed value of a given property. Prefer get_padding_bottom
where a reference is enough.
Sourcepub fn padding_bottom_equals(&self, other: &ComputedValues) -> bool
pub fn padding_bottom_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_padding_left(&self) -> &NonNegative<LengthPercentage>
pub fn get_padding_left(&self) -> &NonNegative<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_padding_left(&self) -> NonNegative<LengthPercentage>
pub fn slow_clone_padding_left(&self) -> NonNegative<LengthPercentage>
Clones the computed value of a given property. Prefer get_padding_left
where a reference is enough.
Sourcepub fn padding_left_equals(&self, other: &ComputedValues) -> bool
pub fn padding_left_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_padding_right(&self) -> &NonNegative<LengthPercentage>
pub fn get_padding_right(&self) -> &NonNegative<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_padding_right(&self) -> NonNegative<LengthPercentage>
pub fn slow_clone_padding_right(&self) -> NonNegative<LengthPercentage>
Clones the computed value of a given property. Prefer get_padding_right
where a reference is enough.
Sourcepub fn padding_right_equals(&self, other: &ComputedValues) -> bool
pub fn padding_right_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_padding_top(&self) -> &NonNegative<LengthPercentage>
pub fn get_padding_top(&self) -> &NonNegative<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_padding_top(&self) -> NonNegative<LengthPercentage>
pub fn slow_clone_padding_top(&self) -> NonNegative<LengthPercentage>
Clones the computed value of a given property. Prefer get_padding_top
where a reference is enough.
Sourcepub fn padding_top_equals(&self, other: &ComputedValues) -> bool
pub fn padding_top_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_r(&self) -> &NonNegative<LengthPercentage>
pub fn get_r(&self) -> &NonNegative<LengthPercentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_r(&self) -> NonNegative<LengthPercentage>
pub fn slow_clone_r(&self) -> NonNegative<LengthPercentage>
Clones the computed value of a given property. Prefer get_r
where a reference is enough.
Sourcepub fn r_equals(&self, other: &ComputedValues) -> bool
pub fn r_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_background_color(&self) -> &GenericColor<Percentage>
pub fn get_background_color(&self) -> &GenericColor<Percentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_background_color(&self) -> GenericColor<Percentage>
pub fn slow_clone_background_color(&self) -> GenericColor<Percentage>
Clones the computed value of a given property. Prefer get_background_color
where a reference is enough.
Sourcepub fn background_color_equals(&self, other: &ComputedValues) -> bool
pub fn background_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_color(&self) -> &GenericColor<Percentage>
pub fn get_border_bottom_color(&self) -> &GenericColor<Percentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_color(&self) -> GenericColor<Percentage>
pub fn slow_clone_border_bottom_color(&self) -> GenericColor<Percentage>
Clones the computed value of a given property. Prefer get_border_bottom_color
where a reference is enough.
Sourcepub fn border_bottom_color_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_left_color(&self) -> &GenericColor<Percentage>
pub fn get_border_left_color(&self) -> &GenericColor<Percentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_left_color(&self) -> GenericColor<Percentage>
pub fn slow_clone_border_left_color(&self) -> GenericColor<Percentage>
Clones the computed value of a given property. Prefer get_border_left_color
where a reference is enough.
Sourcepub fn border_left_color_equals(&self, other: &ComputedValues) -> bool
pub fn border_left_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_right_color(&self) -> &GenericColor<Percentage>
pub fn get_border_right_color(&self) -> &GenericColor<Percentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_right_color(&self) -> GenericColor<Percentage>
pub fn slow_clone_border_right_color(&self) -> GenericColor<Percentage>
Clones the computed value of a given property. Prefer get_border_right_color
where a reference is enough.
Sourcepub fn border_right_color_equals(&self, other: &ComputedValues) -> bool
pub fn border_right_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_color(&self) -> &GenericColor<Percentage>
pub fn get_border_top_color(&self) -> &GenericColor<Percentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_color(&self) -> GenericColor<Percentage>
pub fn slow_clone_border_top_color(&self) -> GenericColor<Percentage>
Clones the computed value of a given property. Prefer get_border_top_color
where a reference is enough.
Sourcepub fn border_top_color_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_outline_color(&self) -> &GenericColor<Percentage>
pub fn get_outline_color(&self) -> &GenericColor<Percentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_outline_color(&self) -> GenericColor<Percentage>
pub fn slow_clone_outline_color(&self) -> GenericColor<Percentage>
Clones the computed value of a given property. Prefer get_outline_color
where a reference is enough.
Sourcepub fn outline_color_equals(&self, other: &ComputedValues) -> bool
pub fn outline_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_color(&self) -> &GenericColor<Percentage>
pub fn get_text_decoration_color(&self) -> &GenericColor<Percentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_color(&self) -> GenericColor<Percentage>
pub fn slow_clone_text_decoration_color(&self) -> GenericColor<Percentage>
Clones the computed value of a given property. Prefer get_text_decoration_color
where a reference is enough.
Sourcepub fn text_decoration_color_equals(&self, other: &ComputedValues) -> bool
pub fn text_decoration_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_emphasis_color(&self) -> &GenericColor<Percentage>
pub fn get_text_emphasis_color(&self) -> &GenericColor<Percentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_emphasis_color(&self) -> GenericColor<Percentage>
pub fn slow_clone_text_emphasis_color(&self) -> GenericColor<Percentage>
Clones the computed value of a given property. Prefer get_text_emphasis_color
where a reference is enough.
Sourcepub fn text_emphasis_color_equals(&self, other: &ComputedValues) -> bool
pub fn text_emphasis_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn get__webkit_text_fill_color(&self) -> &GenericColor<Percentage>
pub fn get__webkit_text_fill_color(&self) -> &GenericColor<Percentage>
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__webkit_text_fill_color(&self) -> GenericColor<Percentage>
pub fn slow_clone__webkit_text_fill_color(&self) -> GenericColor<Percentage>
Clones the computed value of a given property. Prefer get__webkit_text_fill_color
where a reference is enough.
Sourcepub fn _webkit_text_fill_color_equals(&self, other: &ComputedValues) -> bool
pub fn _webkit_text_fill_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn computed_or_resolved_value(
&self,
property_id: LonghandId,
context: Option<&mut Context<'_>>,
dest: &mut String,
) -> Result<(), Error>
pub fn computed_or_resolved_value( &self, property_id: LonghandId, context: Option<&mut Context<'_>>, dest: &mut String, ) -> Result<(), Error>
Writes the (resolved or computed) value of the given longhand as a string in dest.
TODO(emilio): We should move all the special resolution from nsComputedDOMStyle to ToResolvedValue instead.
Sourcepub fn property_value_to_typed_value_list(
&self,
property_id: LonghandId,
) -> Option<TypedValueList>
pub fn property_value_to_typed_value_list( &self, property_id: LonghandId, ) -> Option<TypedValueList>
Returns the computed value of the given longhand as a
TypedValueList, if supported.
Sourcepub fn computed_or_resolved_declaration(
&self,
property_id: LonghandId,
context: Option<&mut Context<'_>>,
) -> PropertyDeclaration
pub fn computed_or_resolved_declaration( &self, property_id: LonghandId, context: Option<&mut Context<'_>>, ) -> PropertyDeclaration
Returns the given longhand’s resolved value as a property declaration.
Sourcepub fn resolve_color(&self, color: &GenericColor<Percentage>) -> AbsoluteColor
pub fn resolve_color(&self, color: &GenericColor<Percentage>) -> AbsoluteColor
Resolves the currentColor keyword.
Any color value from computed values (except for the ‘color’ property itself) should go through this method.
Usage example: let top_color = style.resolve_color(style.get_border().get_border_top_color());
Sourcepub fn transition_properties<'a>(&'a self) -> TransitionPropertyIterator<'a> ⓘ
pub fn transition_properties<'a>(&'a self) -> TransitionPropertyIterator<'a> ⓘ
Create a TransitionPropertyIterator for this styles transition properties.
Source§impl ComputedValues
impl ComputedValues
Sourcepub fn new(
pseudo: Option<&PseudoElement>,
custom_properties: ComputedCustomProperties,
attribute_references: Option<Box<HashMap<GenericAtomIdent<LocalNameStaticSet>, SmallVec<[GenericAtomIdent<NamespaceStaticSet>; 1]>, BuildHasherDefault<PrecomputedHasher>>>>,
writing_mode: WritingMode,
effective_zoom: Zoom,
flags: ComputedValueFlags,
rules: Option<StrongRuleNode>,
visited_style: Option<Arc<ComputedValues>>,
background: Arc<Background>,
border: Arc<Border>,
box_: Arc<Box>,
column: Arc<Column>,
counters: Arc<Counters>,
effects: Arc<Effects>,
font: Arc<Font>,
inherited_box: Arc<InheritedBox>,
inherited_svg: Arc<InheritedSVG>,
inherited_table: Arc<InheritedTable>,
inherited_text: Arc<InheritedText>,
inherited_ui: Arc<InheritedUI>,
list: Arc<List>,
margin: Arc<Margin>,
outline: Arc<Outline>,
padding: Arc<Padding>,
position: Arc<Position>,
svg: Arc<SVG>,
table: Arc<Table>,
text: Arc<Text>,
ui: Arc<UI>,
) -> Arc<ComputedValues>
pub fn new( pseudo: Option<&PseudoElement>, custom_properties: ComputedCustomProperties, attribute_references: Option<Box<HashMap<GenericAtomIdent<LocalNameStaticSet>, SmallVec<[GenericAtomIdent<NamespaceStaticSet>; 1]>, BuildHasherDefault<PrecomputedHasher>>>>, writing_mode: WritingMode, effective_zoom: Zoom, flags: ComputedValueFlags, rules: Option<StrongRuleNode>, visited_style: Option<Arc<ComputedValues>>, background: Arc<Background>, border: Arc<Border>, box_: Arc<Box>, column: Arc<Column>, counters: Arc<Counters>, effects: Arc<Effects>, font: Arc<Font>, inherited_box: Arc<InheritedBox>, inherited_svg: Arc<InheritedSVG>, inherited_table: Arc<InheritedTable>, inherited_text: Arc<InheritedText>, inherited_ui: Arc<InheritedUI>, list: Arc<List>, margin: Arc<Margin>, outline: Arc<Outline>, padding: Arc<Padding>, position: Arc<Position>, svg: Arc<SVG>, table: Arc<Table>, text: Arc<Text>, ui: Arc<UI>, ) -> Arc<ComputedValues>
Create a new refcounted ComputedValues
Sourcepub fn initial_values_with_font_override(
default_font: Font,
) -> Arc<ComputedValues>
pub fn initial_values_with_font_override( default_font: Font, ) -> Arc<ComputedValues>
Get the initial computed values.
Sourcepub fn to_arc(&self) -> Arc<ComputedValues>
pub fn to_arc(&self) -> Arc<ComputedValues>
Converts the computed values to an Arc<> from a reference.
Sourcepub fn computed_value_to_string(
&self,
property: PropertyDeclarationId<'_>,
) -> String
pub fn computed_value_to_string( &self, property: PropertyDeclarationId<'_>, ) -> String
Serializes the computed value of this property as a string.
Sourcepub fn each_cached_lazy_pseudo<F>(&self, _f: F)where
F: FnMut(&ComputedValues),
pub fn each_cached_lazy_pseudo<F>(&self, _f: F)where
F: FnMut(&ComputedValues),
Calls the given function for each cached lazy pseudo-element style.
Source§impl ComputedValues
impl ComputedValues
Sourcepub fn guarantees_stacking_context(&self) -> bool
pub fn guarantees_stacking_context(&self) -> bool
Some properties establish a stacking context when they are set to a non-initial value.
In that case, the damage is only set to ServoRestyleDamage::REPAINT because we don’t
need to rebuild stacking contexts when the style changes between different non-initial
values. This function checks whether any of these properties is set to a value that
guarantees a stacking context, so that we only do the work when this changes.
Note that it’s still possible to establish a stacking context when this returns false.
Methods from Deref<Target = ComputedValuesInner>§
Sourcepub fn clone_with_flags(
&self,
flags: ComputedValueFlags,
pseudo: Option<&PseudoElement>,
) -> Arc<ComputedValues>
pub fn clone_with_flags( &self, flags: ComputedValueFlags, pseudo: Option<&PseudoElement>, ) -> Arc<ComputedValues>
Share ComputedValues but with different flags.
Sourcepub fn visited_style(&self) -> Option<&ComputedValues>
pub fn visited_style(&self) -> Option<&ComputedValues>
Returns the visited style, if any.
Sourcepub fn clone_background(&self) -> Arc<Background>
pub fn clone_background(&self) -> Arc<Background>
Clone the Background struct.
Sourcepub fn get_background(&self) -> &Background
pub fn get_background(&self) -> &Background
Get a immutable reference to the Background struct.
Sourcepub fn mutate_background(&mut self) -> &mut Background
pub fn mutate_background(&mut self) -> &mut Background
Get a mutable reference to the Background struct.
Sourcepub fn clone_border(&self) -> Arc<Border>
pub fn clone_border(&self) -> Arc<Border>
Clone the Border struct.
Sourcepub fn get_border(&self) -> &Border
pub fn get_border(&self) -> &Border
Get a immutable reference to the Border struct.
Sourcepub fn mutate_border(&mut self) -> &mut Border
pub fn mutate_border(&mut self) -> &mut Border
Get a mutable reference to the Border struct.
Sourcepub fn mutate_box(&mut self) -> &mut Box
pub fn mutate_box(&mut self) -> &mut Box
Get a mutable reference to the Box struct.
Sourcepub fn clone_column(&self) -> Arc<Column>
pub fn clone_column(&self) -> Arc<Column>
Clone the Column struct.
Sourcepub fn get_column(&self) -> &Column
pub fn get_column(&self) -> &Column
Get a immutable reference to the Column struct.
Sourcepub fn mutate_column(&mut self) -> &mut Column
pub fn mutate_column(&mut self) -> &mut Column
Get a mutable reference to the Column struct.
Sourcepub fn clone_counters(&self) -> Arc<Counters>
pub fn clone_counters(&self) -> Arc<Counters>
Clone the Counters struct.
Sourcepub fn get_counters(&self) -> &Counters
pub fn get_counters(&self) -> &Counters
Get a immutable reference to the Counters struct.
Sourcepub fn mutate_counters(&mut self) -> &mut Counters
pub fn mutate_counters(&mut self) -> &mut Counters
Get a mutable reference to the Counters struct.
Sourcepub fn clone_effects(&self) -> Arc<Effects>
pub fn clone_effects(&self) -> Arc<Effects>
Clone the Effects struct.
Sourcepub fn get_effects(&self) -> &Effects
pub fn get_effects(&self) -> &Effects
Get a immutable reference to the Effects struct.
Sourcepub fn mutate_effects(&mut self) -> &mut Effects
pub fn mutate_effects(&mut self) -> &mut Effects
Get a mutable reference to the Effects struct.
Sourcepub fn clone_font(&self) -> Arc<Font>
pub fn clone_font(&self) -> Arc<Font>
Clone the Font struct.
Sourcepub fn mutate_font(&mut self) -> &mut Font
pub fn mutate_font(&mut self) -> &mut Font
Get a mutable reference to the Font struct.
Sourcepub fn clone_inherited_box(&self) -> Arc<InheritedBox>
pub fn clone_inherited_box(&self) -> Arc<InheritedBox>
Clone the InheritedBox struct.
Sourcepub fn get_inherited_box(&self) -> &InheritedBox
pub fn get_inherited_box(&self) -> &InheritedBox
Get a immutable reference to the InheritedBox struct.
Sourcepub fn mutate_inherited_box(&mut self) -> &mut InheritedBox
pub fn mutate_inherited_box(&mut self) -> &mut InheritedBox
Get a mutable reference to the InheritedBox struct.
Sourcepub fn clone_inherited_svg(&self) -> Arc<InheritedSVG>
pub fn clone_inherited_svg(&self) -> Arc<InheritedSVG>
Clone the InheritedSVG struct.
Sourcepub fn get_inherited_svg(&self) -> &InheritedSVG
pub fn get_inherited_svg(&self) -> &InheritedSVG
Get a immutable reference to the InheritedSVG struct.
Sourcepub fn mutate_inherited_svg(&mut self) -> &mut InheritedSVG
pub fn mutate_inherited_svg(&mut self) -> &mut InheritedSVG
Get a mutable reference to the InheritedSVG struct.
Sourcepub fn clone_inherited_table(&self) -> Arc<InheritedTable>
pub fn clone_inherited_table(&self) -> Arc<InheritedTable>
Clone the InheritedTable struct.
Sourcepub fn get_inherited_table(&self) -> &InheritedTable
pub fn get_inherited_table(&self) -> &InheritedTable
Get a immutable reference to the InheritedTable struct.
Sourcepub fn mutate_inherited_table(&mut self) -> &mut InheritedTable
pub fn mutate_inherited_table(&mut self) -> &mut InheritedTable
Get a mutable reference to the InheritedTable struct.
Sourcepub fn clone_inherited_text(&self) -> Arc<InheritedText>
pub fn clone_inherited_text(&self) -> Arc<InheritedText>
Clone the InheritedText struct.
Sourcepub fn get_inherited_text(&self) -> &InheritedText
pub fn get_inherited_text(&self) -> &InheritedText
Get a immutable reference to the InheritedText struct.
Sourcepub fn mutate_inherited_text(&mut self) -> &mut InheritedText
pub fn mutate_inherited_text(&mut self) -> &mut InheritedText
Get a mutable reference to the InheritedText struct.
Sourcepub fn clone_inherited_ui(&self) -> Arc<InheritedUI>
pub fn clone_inherited_ui(&self) -> Arc<InheritedUI>
Clone the InheritedUI struct.
Sourcepub fn get_inherited_ui(&self) -> &InheritedUI
pub fn get_inherited_ui(&self) -> &InheritedUI
Get a immutable reference to the InheritedUI struct.
Sourcepub fn mutate_inherited_ui(&mut self) -> &mut InheritedUI
pub fn mutate_inherited_ui(&mut self) -> &mut InheritedUI
Get a mutable reference to the InheritedUI struct.
Sourcepub fn clone_list(&self) -> Arc<List>
pub fn clone_list(&self) -> Arc<List>
Clone the List struct.
Sourcepub fn mutate_list(&mut self) -> &mut List
pub fn mutate_list(&mut self) -> &mut List
Get a mutable reference to the List struct.
Sourcepub fn clone_margin(&self) -> Arc<Margin>
pub fn clone_margin(&self) -> Arc<Margin>
Clone the Margin struct.
Sourcepub fn get_margin(&self) -> &Margin
pub fn get_margin(&self) -> &Margin
Get a immutable reference to the Margin struct.
Sourcepub fn mutate_margin(&mut self) -> &mut Margin
pub fn mutate_margin(&mut self) -> &mut Margin
Get a mutable reference to the Margin struct.
Sourcepub fn clone_outline(&self) -> Arc<Outline>
pub fn clone_outline(&self) -> Arc<Outline>
Clone the Outline struct.
Sourcepub fn get_outline(&self) -> &Outline
pub fn get_outline(&self) -> &Outline
Get a immutable reference to the Outline struct.
Sourcepub fn mutate_outline(&mut self) -> &mut Outline
pub fn mutate_outline(&mut self) -> &mut Outline
Get a mutable reference to the Outline struct.
Sourcepub fn clone_padding(&self) -> Arc<Padding>
pub fn clone_padding(&self) -> Arc<Padding>
Clone the Padding struct.
Sourcepub fn get_padding(&self) -> &Padding
pub fn get_padding(&self) -> &Padding
Get a immutable reference to the Padding struct.
Sourcepub fn mutate_padding(&mut self) -> &mut Padding
pub fn mutate_padding(&mut self) -> &mut Padding
Get a mutable reference to the Padding struct.
Sourcepub fn clone_position(&self) -> Arc<Position>
pub fn clone_position(&self) -> Arc<Position>
Clone the Position struct.
Sourcepub fn get_position(&self) -> &Position
pub fn get_position(&self) -> &Position
Get a immutable reference to the Position struct.
Sourcepub fn mutate_position(&mut self) -> &mut Position
pub fn mutate_position(&mut self) -> &mut Position
Get a mutable reference to the Position struct.
Sourcepub fn mutate_svg(&mut self) -> &mut SVG
pub fn mutate_svg(&mut self) -> &mut SVG
Get a mutable reference to the SVG struct.
Sourcepub fn clone_table(&self) -> Arc<Table>
pub fn clone_table(&self) -> Arc<Table>
Clone the Table struct.
Sourcepub fn mutate_table(&mut self) -> &mut Table
pub fn mutate_table(&mut self) -> &mut Table
Get a mutable reference to the Table struct.
Sourcepub fn clone_text(&self) -> Arc<Text>
pub fn clone_text(&self) -> Arc<Text>
Clone the Text struct.
Sourcepub fn mutate_text(&mut self) -> &mut Text
pub fn mutate_text(&mut self) -> &mut Text
Get a mutable reference to the Text struct.
Sourcepub fn rules(&self) -> &StrongRuleNode
pub fn rules(&self) -> &StrongRuleNode
Gets a reference to the rule node. Panic if no rule node exists.
Sourcepub fn ineffective_content_property(&self) -> bool
pub fn ineffective_content_property(&self) -> bool
Returns whether the “content” property for the given style is completely
ineffective, and would yield an empty ::before or ::after
pseudo-element.
Sourcepub fn is_multicol(&self) -> bool
pub fn is_multicol(&self) -> bool
Whether the current style is multicolumn.
Sourcepub fn content_inline_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn content_inline_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Get the logical computed inline size.
Sourcepub fn content_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn content_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Get the logical computed block size.
Sourcepub fn min_inline_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn min_inline_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Get the logical computed min inline size.
Sourcepub fn min_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn min_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Get the logical computed min block size.
Sourcepub fn max_inline_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
pub fn max_inline_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
Get the logical computed max inline size.
Sourcepub fn max_block_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
pub fn max_block_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
Get the logical computed max block size.
Sourcepub fn logical_padding(&self) -> LogicalMargin<&LengthPercentage>
pub fn logical_padding(&self) -> LogicalMargin<&LengthPercentage>
Get the logical computed padding for this writing mode.
Sourcepub fn logical_margin(&self) -> LogicalMargin<&GenericMargin<LengthPercentage>>
pub fn logical_margin(&self) -> LogicalMargin<&GenericMargin<LengthPercentage>>
Gets the logical computed margin from this style.
Sourcepub fn logical_position(
&self,
) -> LogicalMargin<&GenericInset<Percentage, LengthPercentage>>
pub fn logical_position( &self, ) -> LogicalMargin<&GenericInset<Percentage, LengthPercentage>>
Gets the logical position from this style.
Trait Implementations§
Source§impl Clone for ComputedValues
impl Clone for ComputedValues
Source§fn clone(&self) -> ComputedValues
fn clone(&self) -> ComputedValues
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl CopyStyleGetters for ComputedValues
impl CopyStyleGetters for ComputedValues
fn clone_alignment_baseline(&self) -> AlignmentBaseline
fn clone_baseline_source(&self) -> BaselineSource
fn clone_border_collapse(&self) -> BorderCollapse
fn clone_border_spacing( &self, ) -> GenericBorderSpacing<NonNegative<CSSPixelLength>>
fn clone_box_sizing(&self) -> BoxSizing
fn clone_clear(&self) -> Clear
fn clone_color(&self) -> AbsoluteColor
fn clone_contain(&self) -> Contain
fn clone_direction(&self) -> DirectionProperty
fn clone_display(&self) -> Display
fn clone_float(&self) -> Float
fn clone_image_rendering(&self) -> ImageRendering
fn clone_line_height( &self, ) -> GenericLineHeight<NonNegative<f32>, NonNegative<CSSPixelLength>>
fn clone_list_style_position(&self) -> ListStylePosition
fn clone_object_fit(&self) -> ObjectFit
fn clone_opacity(&self) -> f32
fn clone_order(&self) -> i32
fn clone_overflow_x(&self) -> Overflow
fn clone_overflow_y(&self) -> Overflow
fn clone_pointer_events(&self) -> PointerEvents
fn clone_scroll_behavior(&self) -> ScrollBehavior
fn clone_scrollbar_width(&self) -> ScrollbarWidth
fn clone_table_layout(&self) -> TableLayout
fn clone_text_align(&self) -> TextAlignKeyword
fn clone_text_align_last(&self) -> TextAlignLast
fn clone_text_transform(&self) -> TextTransform
fn clone_text_wrap_mode(&self) -> TextWrapMode
fn clone_touch_action(&self) -> TouchAction
fn clone_unicode_bidi(&self) -> UnicodeBidi
fn clone_user_select(&self) -> UserSelect
fn clone_visibility(&self) -> Visibility
fn clone_white_space_collapse(&self) -> WhiteSpaceCollapse
fn clone_z_index(&self) -> GenericZIndex<i32>
fn clone_position(&self) -> PositionProperty
Source§impl Debug for ComputedValues
impl Debug for ComputedValues
Source§impl Deref for ComputedValues
Available on crate feature servo only.
impl Deref for ComputedValues
servo only.Source§type Target = ComputedValuesInner
type Target = ComputedValuesInner
Source§fn deref(&self) -> &ComputedValuesInner
fn deref(&self) -> &ComputedValuesInner
Source§impl DerefMut for ComputedValues
Available on crate feature servo only.
impl DerefMut for ComputedValues
servo only.Source§fn deref_mut(&mut self) -> &mut ComputedValuesInner
fn deref_mut(&mut self) -> &mut ComputedValuesInner
Auto Trait Implementations§
impl !RefUnwindSafe for ComputedValues
impl !UnwindSafe for ComputedValues
impl Freeze for ComputedValues
impl Send for ComputedValues
impl Sync for ComputedValues
impl Unpin for ComputedValues
impl UnsafeUnpin for ComputedValues
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more