pub struct ComputedValues {
inner: ComputedValuesInner,
pseudo: Option<PseudoElement>,
}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.
Fields§
§inner: ComputedValuesInnerThe actual computed values
In Gecko the outer ComputedValues is actually a ComputedStyle, whereas ComputedValuesInner is the core set of computed values.
We maintain this distinction in servo to reduce the amount of special casing.
pseudo: Option<PseudoElement>The pseudo-element that we’re using.
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) -> &T
pub fn get_align_items(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_align_items(&self) -> T
pub fn slow_clone_align_items(&self) -> T
Clones the computed value of a given property. Prefer get_align_items
where a reference is enough.
Sourcepub fn align_items_equals(&self, other: &Self) -> bool
pub fn align_items_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_alignment_baseline(&self) -> &T
pub fn get_alignment_baseline(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_alignment_baseline(&self) -> T
pub fn slow_clone_alignment_baseline(&self) -> T
Clones the computed value of a given property. Prefer get_alignment_baseline
where a reference is enough.
Sourcepub fn alignment_baseline_equals(&self, other: &Self) -> bool
pub fn alignment_baseline_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_backface_visibility(&self) -> &T
pub fn get_backface_visibility(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_backface_visibility(&self) -> T
pub fn slow_clone_backface_visibility(&self) -> T
Clones the computed value of a given property. Prefer get_backface_visibility
where a reference is enough.
Sourcepub fn backface_visibility_equals(&self, other: &Self) -> bool
pub fn backface_visibility_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_baseline_source(&self) -> &T
pub fn get_baseline_source(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_baseline_source(&self) -> T
pub fn slow_clone_baseline_source(&self) -> T
Clones the computed value of a given property. Prefer get_baseline_source
where a reference is enough.
Sourcepub fn baseline_source_equals(&self, other: &Self) -> bool
pub fn baseline_source_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_collapse(&self) -> &T
pub fn get_border_collapse(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_collapse(&self) -> T
pub fn slow_clone_border_collapse(&self) -> T
Clones the computed value of a given property. Prefer get_border_collapse
where a reference is enough.
Sourcepub fn border_collapse_equals(&self, other: &Self) -> bool
pub fn border_collapse_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_repeat(&self) -> &T
pub fn get_border_image_repeat(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_repeat(&self) -> T
pub fn slow_clone_border_image_repeat(&self) -> T
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: &Self) -> bool
pub fn border_image_repeat_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_box_decoration_break(&self) -> &T
pub fn get_box_decoration_break(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_box_decoration_break(&self) -> T
pub fn slow_clone_box_decoration_break(&self) -> T
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: &Self) -> bool
pub fn box_decoration_break_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_box_sizing(&self) -> &T
pub fn get_box_sizing(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_box_sizing(&self) -> T
pub fn slow_clone_box_sizing(&self) -> T
Clones the computed value of a given property. Prefer get_box_sizing
where a reference is enough.
Sourcepub fn box_sizing_equals(&self, other: &Self) -> bool
pub fn box_sizing_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_caption_side(&self) -> &T
pub fn get_caption_side(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_caption_side(&self) -> T
pub fn slow_clone_caption_side(&self) -> T
Clones the computed value of a given property. Prefer get_caption_side
where a reference is enough.
Sourcepub fn caption_side_equals(&self, other: &Self) -> bool
pub fn caption_side_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_clear(&self) -> T
pub fn slow_clone_clear(&self) -> T
Clones the computed value of a given property. Prefer get_clear
where a reference is enough.
Sourcepub fn clear_equals(&self, other: &Self) -> bool
pub fn clear_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_column_span(&self) -> &T
pub fn get_column_span(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_column_span(&self) -> T
pub fn slow_clone_column_span(&self) -> T
Clones the computed value of a given property. Prefer get_column_span
where a reference is enough.
Sourcepub fn column_span_equals(&self, other: &Self) -> bool
pub fn column_span_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_contain(&self) -> &T
pub fn get_contain(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_contain(&self) -> T
pub fn slow_clone_contain(&self) -> T
Clones the computed value of a given property. Prefer get_contain
where a reference is enough.
Sourcepub fn contain_equals(&self, other: &Self) -> bool
pub fn contain_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_container_type(&self) -> &T
pub fn get_container_type(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_container_type(&self) -> T
pub fn slow_clone_container_type(&self) -> T
Clones the computed value of a given property. Prefer get_container_type
where a reference is enough.
Sourcepub fn container_type_equals(&self, other: &Self) -> bool
pub fn container_type_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_direction(&self) -> &T
pub fn get_direction(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_direction(&self) -> T
pub fn slow_clone_direction(&self) -> T
Clones the computed value of a given property. Prefer get_direction
where a reference is enough.
Sourcepub fn direction_equals(&self, other: &Self) -> bool
pub fn direction_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_display(&self) -> &T
pub fn get_display(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_display(&self) -> T
pub fn slow_clone_display(&self) -> T
Clones the computed value of a given property. Prefer get_display
where a reference is enough.
Sourcepub fn display_equals(&self, other: &Self) -> bool
pub fn display_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_dominant_baseline(&self) -> &T
pub fn get_dominant_baseline(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_dominant_baseline(&self) -> T
pub fn slow_clone_dominant_baseline(&self) -> T
Clones the computed value of a given property. Prefer get_dominant_baseline
where a reference is enough.
Sourcepub fn dominant_baseline_equals(&self, other: &Self) -> bool
pub fn dominant_baseline_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_empty_cells(&self) -> &T
pub fn get_empty_cells(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_empty_cells(&self) -> T
pub fn slow_clone_empty_cells(&self) -> T
Clones the computed value of a given property. Prefer get_empty_cells
where a reference is enough.
Sourcepub fn empty_cells_equals(&self, other: &Self) -> bool
pub fn empty_cells_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_fill_rule(&self) -> &T
pub fn get_fill_rule(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_fill_rule(&self) -> T
pub fn slow_clone_fill_rule(&self) -> T
Clones the computed value of a given property. Prefer get_fill_rule
where a reference is enough.
Sourcepub fn fill_rule_equals(&self, other: &Self) -> bool
pub fn fill_rule_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_direction(&self) -> &T
pub fn get_flex_direction(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_direction(&self) -> T
pub fn slow_clone_flex_direction(&self) -> T
Clones the computed value of a given property. Prefer get_flex_direction
where a reference is enough.
Sourcepub fn flex_direction_equals(&self, other: &Self) -> bool
pub fn flex_direction_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_wrap(&self) -> &T
pub fn get_flex_wrap(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_wrap(&self) -> T
pub fn slow_clone_flex_wrap(&self) -> T
Clones the computed value of a given property. Prefer get_flex_wrap
where a reference is enough.
Sourcepub fn flex_wrap_equals(&self, other: &Self) -> bool
pub fn flex_wrap_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_float(&self) -> T
pub fn slow_clone_float(&self) -> T
Clones the computed value of a given property. Prefer get_float
where a reference is enough.
Sourcepub fn float_equals(&self, other: &Self) -> bool
pub fn float_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_kerning(&self) -> &T
pub fn get_font_kerning(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_kerning(&self) -> T
pub fn slow_clone_font_kerning(&self) -> T
Clones the computed value of a given property. Prefer get_font_kerning
where a reference is enough.
Sourcepub fn font_kerning_equals(&self, other: &Self) -> bool
pub fn font_kerning_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_language_override(&self) -> &T
pub fn get_font_language_override(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_language_override(&self) -> T
pub fn slow_clone_font_language_override(&self) -> T
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: &Self) -> bool
pub fn font_language_override_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_optical_sizing(&self) -> &T
pub fn get_font_optical_sizing(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_optical_sizing(&self) -> T
pub fn slow_clone_font_optical_sizing(&self) -> T
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: &Self) -> bool
pub fn font_optical_sizing_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_synthesis_style(&self) -> &T
pub fn get_font_synthesis_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_synthesis_style(&self) -> T
pub fn slow_clone_font_synthesis_style(&self) -> T
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: &Self) -> bool
pub fn font_synthesis_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_caps(&self) -> &T
pub fn get_font_variant_caps(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_caps(&self) -> T
pub fn slow_clone_font_variant_caps(&self) -> T
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: &Self) -> bool
pub fn font_variant_caps_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_east_asian(&self) -> &T
pub fn get_font_variant_east_asian(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_east_asian(&self) -> T
pub fn slow_clone_font_variant_east_asian(&self) -> T
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: &Self) -> bool
pub fn font_variant_east_asian_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_emoji(&self) -> &T
pub fn get_font_variant_emoji(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_emoji(&self) -> T
pub fn slow_clone_font_variant_emoji(&self) -> T
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: &Self) -> bool
pub fn font_variant_emoji_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_ligatures(&self) -> &T
pub fn get_font_variant_ligatures(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_ligatures(&self) -> T
pub fn slow_clone_font_variant_ligatures(&self) -> T
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: &Self) -> bool
pub fn font_variant_ligatures_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_numeric(&self) -> &T
pub fn get_font_variant_numeric(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_numeric(&self) -> T
pub fn slow_clone_font_variant_numeric(&self) -> T
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: &Self) -> bool
pub fn font_variant_numeric_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_position(&self) -> &T
pub fn get_font_variant_position(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_position(&self) -> T
pub fn slow_clone_font_variant_position(&self) -> T
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: &Self) -> bool
pub fn font_variant_position_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_forced_color_adjust(&self) -> &T
pub fn get_forced_color_adjust(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_forced_color_adjust(&self) -> T
pub fn slow_clone_forced_color_adjust(&self) -> T
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: &Self) -> bool
pub fn forced_color_adjust_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_auto_flow(&self) -> &T
pub fn get_grid_auto_flow(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_auto_flow(&self) -> T
pub fn slow_clone_grid_auto_flow(&self) -> T
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: &Self) -> bool
pub fn grid_auto_flow_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_hyphens(&self) -> &T
pub fn get_hyphens(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_hyphens(&self) -> T
pub fn slow_clone_hyphens(&self) -> T
Clones the computed value of a given property. Prefer get_hyphens
where a reference is enough.
Sourcepub fn hyphens_equals(&self, other: &Self) -> bool
pub fn hyphens_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_image_rendering(&self) -> &T
pub fn get_image_rendering(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_image_rendering(&self) -> T
pub fn slow_clone_image_rendering(&self) -> T
Clones the computed value of a given property. Prefer get_image_rendering
where a reference is enough.
Sourcepub fn image_rendering_equals(&self, other: &Self) -> bool
pub fn image_rendering_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_isolation(&self) -> &T
pub fn get_isolation(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_isolation(&self) -> T
pub fn slow_clone_isolation(&self) -> T
Clones the computed value of a given property. Prefer get_isolation
where a reference is enough.
Sourcepub fn isolation_equals(&self, other: &Self) -> bool
pub fn isolation_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_justify_items(&self) -> &T
pub fn get_justify_items(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_justify_items(&self) -> T
pub fn slow_clone_justify_items(&self) -> T
Clones the computed value of a given property. Prefer get_justify_items
where a reference is enough.
Sourcepub fn justify_items_equals(&self, other: &Self) -> bool
pub fn justify_items_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_line_break(&self) -> &T
pub fn get_line_break(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_line_break(&self) -> T
pub fn slow_clone_line_break(&self) -> T
Clones the computed value of a given property. Prefer get_line_break
where a reference is enough.
Sourcepub fn line_break_equals(&self, other: &Self) -> bool
pub fn line_break_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_list_style_position(&self) -> &T
pub fn get_list_style_position(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_list_style_position(&self) -> T
pub fn slow_clone_list_style_position(&self) -> T
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: &Self) -> bool
pub fn list_style_position_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_mask_type(&self) -> &T
pub fn get_mask_type(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_mask_type(&self) -> T
pub fn slow_clone_mask_type(&self) -> T
Clones the computed value of a given property. Prefer get_mask_type
where a reference is enough.
Sourcepub fn mask_type_equals(&self, other: &Self) -> bool
pub fn mask_type_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_math_style(&self) -> &T
pub fn get_math_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_math_style(&self) -> T
pub fn slow_clone_math_style(&self) -> T
Clones the computed value of a given property. Prefer get_math_style
where a reference is enough.
Sourcepub fn math_style_equals(&self, other: &Self) -> bool
pub fn math_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_mix_blend_mode(&self) -> &T
pub fn get_mix_blend_mode(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_mix_blend_mode(&self) -> T
pub fn slow_clone_mix_blend_mode(&self) -> T
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: &Self) -> bool
pub fn mix_blend_mode_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_object_fit(&self) -> &T
pub fn get_object_fit(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_object_fit(&self) -> T
pub fn slow_clone_object_fit(&self) -> T
Clones the computed value of a given property. Prefer get_object_fit
where a reference is enough.
Sourcepub fn object_fit_equals(&self, other: &Self) -> bool
pub fn object_fit_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_outline_style(&self) -> &T
pub fn get_outline_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_outline_style(&self) -> T
pub fn slow_clone_outline_style(&self) -> T
Clones the computed value of a given property. Prefer get_outline_style
where a reference is enough.
Sourcepub fn outline_style_equals(&self, other: &Self) -> bool
pub fn outline_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overflow_wrap(&self) -> &T
pub fn get_overflow_wrap(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overflow_wrap(&self) -> T
pub fn slow_clone_overflow_wrap(&self) -> T
Clones the computed value of a given property. Prefer get_overflow_wrap
where a reference is enough.
Sourcepub fn overflow_wrap_equals(&self, other: &Self) -> bool
pub fn overflow_wrap_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_pointer_events(&self) -> &T
pub fn get_pointer_events(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_pointer_events(&self) -> T
pub fn slow_clone_pointer_events(&self) -> T
Clones the computed value of a given property. Prefer get_pointer_events
where a reference is enough.
Sourcepub fn pointer_events_equals(&self, other: &Self) -> bool
pub fn pointer_events_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_position(&self) -> T
pub fn slow_clone_position(&self) -> T
Clones the computed value of a given property. Prefer get_position
where a reference is enough.
Sourcepub fn position_equals(&self, other: &Self) -> bool
pub fn position_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_position_area(&self) -> &T
pub fn get_position_area(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_position_area(&self) -> T
pub fn slow_clone_position_area(&self) -> T
Clones the computed value of a given property. Prefer get_position_area
where a reference is enough.
Sourcepub fn position_area_equals(&self, other: &Self) -> bool
pub fn position_area_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_ruby_align(&self) -> &T
pub fn get_ruby_align(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_ruby_align(&self) -> T
pub fn slow_clone_ruby_align(&self) -> T
Clones the computed value of a given property. Prefer get_ruby_align
where a reference is enough.
Sourcepub fn ruby_align_equals(&self, other: &Self) -> bool
pub fn ruby_align_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_ruby_position(&self) -> &T
pub fn get_ruby_position(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_ruby_position(&self) -> T
pub fn slow_clone_ruby_position(&self) -> T
Clones the computed value of a given property. Prefer get_ruby_position
where a reference is enough.
Sourcepub fn ruby_position_equals(&self, other: &Self) -> bool
pub fn ruby_position_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_scroll_behavior(&self) -> &T
pub fn get_scroll_behavior(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_scroll_behavior(&self) -> T
pub fn slow_clone_scroll_behavior(&self) -> T
Clones the computed value of a given property. Prefer get_scroll_behavior
where a reference is enough.
Sourcepub fn scroll_behavior_equals(&self, other: &Self) -> bool
pub fn scroll_behavior_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_scrollbar_width(&self) -> &T
pub fn get_scrollbar_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_scrollbar_width(&self) -> T
pub fn slow_clone_scrollbar_width(&self) -> T
Clones the computed value of a given property. Prefer get_scrollbar_width
where a reference is enough.
Sourcepub fn scrollbar_width_equals(&self, other: &Self) -> bool
pub fn scrollbar_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get__servo_top_layer(&self) -> &T
pub fn get__servo_top_layer(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__servo_top_layer(&self) -> T
pub fn slow_clone__servo_top_layer(&self) -> T
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: &Self) -> bool
pub fn _servo_top_layer_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_linecap(&self) -> &T
pub fn get_stroke_linecap(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_linecap(&self) -> T
pub fn slow_clone_stroke_linecap(&self) -> T
Clones the computed value of a given property. Prefer get_stroke_linecap
where a reference is enough.
Sourcepub fn stroke_linecap_equals(&self, other: &Self) -> bool
pub fn stroke_linecap_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_linejoin(&self) -> &T
pub fn get_stroke_linejoin(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_linejoin(&self) -> T
pub fn slow_clone_stroke_linejoin(&self) -> T
Clones the computed value of a given property. Prefer get_stroke_linejoin
where a reference is enough.
Sourcepub fn stroke_linejoin_equals(&self, other: &Self) -> bool
pub fn stroke_linejoin_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_table_layout(&self) -> &T
pub fn get_table_layout(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_table_layout(&self) -> T
pub fn slow_clone_table_layout(&self) -> T
Clones the computed value of a given property. Prefer get_table_layout
where a reference is enough.
Sourcepub fn table_layout_equals(&self, other: &Self) -> bool
pub fn table_layout_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_align(&self) -> &T
pub fn get_text_align(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_align(&self) -> T
pub fn slow_clone_text_align(&self) -> T
Clones the computed value of a given property. Prefer get_text_align
where a reference is enough.
Sourcepub fn text_align_equals(&self, other: &Self) -> bool
pub fn text_align_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_align_last(&self) -> &T
pub fn get_text_align_last(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_align_last(&self) -> T
pub fn slow_clone_text_align_last(&self) -> T
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: &Self) -> bool
pub fn text_align_last_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_autospace(&self) -> &T
pub fn get_text_autospace(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_autospace(&self) -> T
pub fn slow_clone_text_autospace(&self) -> T
Clones the computed value of a given property. Prefer get_text_autospace
where a reference is enough.
Sourcepub fn text_autospace_equals(&self, other: &Self) -> bool
pub fn text_autospace_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_box_edge(&self) -> &T
pub fn get_text_box_edge(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_box_edge(&self) -> T
pub fn slow_clone_text_box_edge(&self) -> T
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: &Self) -> bool
pub fn text_box_edge_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_box_trim(&self) -> &T
pub fn get_text_box_trim(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_box_trim(&self) -> T
pub fn slow_clone_text_box_trim(&self) -> T
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: &Self) -> bool
pub fn text_box_trim_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_combine_upright(&self) -> &T
pub fn get_text_combine_upright(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_combine_upright(&self) -> T
pub fn slow_clone_text_combine_upright(&self) -> T
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: &Self) -> bool
pub fn text_combine_upright_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_line(&self) -> &T
pub fn get_text_decoration_line(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_line(&self) -> T
pub fn slow_clone_text_decoration_line(&self) -> T
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: &Self) -> bool
pub fn text_decoration_line_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_style(&self) -> &T
pub fn get_text_decoration_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_style(&self) -> T
pub fn slow_clone_text_decoration_style(&self) -> T
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: &Self) -> bool
pub fn text_decoration_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_emphasis_position(&self) -> &T
pub fn get_text_emphasis_position(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_emphasis_position(&self) -> T
pub fn slow_clone_text_emphasis_position(&self) -> T
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: &Self) -> bool
pub fn text_emphasis_position_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_justify(&self) -> &T
pub fn get_text_justify(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_justify(&self) -> T
pub fn slow_clone_text_justify(&self) -> T
Clones the computed value of a given property. Prefer get_text_justify
where a reference is enough.
Sourcepub fn text_justify_equals(&self, other: &Self) -> bool
pub fn text_justify_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_orientation(&self) -> &T
pub fn get_text_orientation(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_orientation(&self) -> T
pub fn slow_clone_text_orientation(&self) -> T
Clones the computed value of a given property. Prefer get_text_orientation
where a reference is enough.
Sourcepub fn text_orientation_equals(&self, other: &Self) -> bool
pub fn text_orientation_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_rendering(&self) -> &T
pub fn get_text_rendering(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_rendering(&self) -> T
pub fn slow_clone_text_rendering(&self) -> T
Clones the computed value of a given property. Prefer get_text_rendering
where a reference is enough.
Sourcepub fn text_rendering_equals(&self, other: &Self) -> bool
pub fn text_rendering_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_transform(&self) -> &T
pub fn get_text_transform(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_transform(&self) -> T
pub fn slow_clone_text_transform(&self) -> T
Clones the computed value of a given property. Prefer get_text_transform
where a reference is enough.
Sourcepub fn text_transform_equals(&self, other: &Self) -> bool
pub fn text_transform_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_underline_position(&self) -> &T
pub fn get_text_underline_position(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_underline_position(&self) -> T
pub fn slow_clone_text_underline_position(&self) -> T
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: &Self) -> bool
pub fn text_underline_position_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_wrap_mode(&self) -> &T
pub fn get_text_wrap_mode(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_wrap_mode(&self) -> T
pub fn slow_clone_text_wrap_mode(&self) -> T
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: &Self) -> bool
pub fn text_wrap_mode_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_wrap_style(&self) -> &T
pub fn get_text_wrap_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_wrap_style(&self) -> T
pub fn slow_clone_text_wrap_style(&self) -> T
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: &Self) -> bool
pub fn text_wrap_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_touch_action(&self) -> &T
pub fn get_touch_action(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_touch_action(&self) -> T
pub fn slow_clone_touch_action(&self) -> T
Clones the computed value of a given property. Prefer get_touch_action
where a reference is enough.
Sourcepub fn touch_action_equals(&self, other: &Self) -> bool
pub fn touch_action_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_transform_style(&self) -> &T
pub fn get_transform_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_transform_style(&self) -> T
pub fn slow_clone_transform_style(&self) -> T
Clones the computed value of a given property. Prefer get_transform_style
where a reference is enough.
Sourcepub fn transform_style_equals(&self, other: &Self) -> bool
pub fn transform_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_unicode_bidi(&self) -> &T
pub fn get_unicode_bidi(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_unicode_bidi(&self) -> T
pub fn slow_clone_unicode_bidi(&self) -> T
Clones the computed value of a given property. Prefer get_unicode_bidi
where a reference is enough.
Sourcepub fn unicode_bidi_equals(&self, other: &Self) -> bool
pub fn unicode_bidi_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_user_select(&self) -> &T
pub fn get_user_select(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_user_select(&self) -> T
pub fn slow_clone_user_select(&self) -> T
Clones the computed value of a given property. Prefer get_user_select
where a reference is enough.
Sourcepub fn user_select_equals(&self, other: &Self) -> bool
pub fn user_select_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_visibility(&self) -> &T
pub fn get_visibility(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_visibility(&self) -> T
pub fn slow_clone_visibility(&self) -> T
Clones the computed value of a given property. Prefer get_visibility
where a reference is enough.
Sourcepub fn visibility_equals(&self, other: &Self) -> bool
pub fn visibility_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get__webkit_text_security(&self) -> &T
pub fn get__webkit_text_security(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__webkit_text_security(&self) -> T
pub fn slow_clone__webkit_text_security(&self) -> T
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: &Self) -> bool
pub fn _webkit_text_security_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_white_space_collapse(&self) -> &T
pub fn get_white_space_collapse(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_white_space_collapse(&self) -> T
pub fn slow_clone_white_space_collapse(&self) -> T
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: &Self) -> bool
pub fn white_space_collapse_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_word_break(&self) -> &T
pub fn get_word_break(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_word_break(&self) -> T
pub fn slow_clone_word_break(&self) -> T
Clones the computed value of a given property. Prefer get_word_break
where a reference is enough.
Sourcepub fn word_break_equals(&self, other: &Self) -> bool
pub fn word_break_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_writing_mode(&self) -> &T
pub fn get_writing_mode(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_writing_mode(&self) -> T
pub fn slow_clone_writing_mode(&self) -> T
Clones the computed value of a given property. Prefer get_writing_mode
where a reference is enough.
Sourcepub fn writing_mode_equals(&self, other: &Self) -> bool
pub fn writing_mode_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get__x_text_scale(&self) -> &T
pub fn get__x_text_scale(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__x_text_scale(&self) -> T
pub fn slow_clone__x_text_scale(&self) -> T
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: &Self) -> bool
pub fn _x_text_scale_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_appearance(&self) -> &T
pub fn get_appearance(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_appearance(&self) -> T
pub fn slow_clone_appearance(&self) -> T
Clones the computed value of a given property. Prefer get_appearance
where a reference is enough.
Sourcepub fn appearance_equals(&self, other: &Self) -> bool
pub fn appearance_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get__moz_default_appearance(&self) -> &T
pub fn get__moz_default_appearance(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__moz_default_appearance(&self) -> T
pub fn slow_clone__moz_default_appearance(&self) -> T
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: &Self) -> bool
pub fn _moz_default_appearance_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_align_content(&self) -> &T
pub fn get_align_content(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_align_content(&self) -> T
pub fn slow_clone_align_content(&self) -> T
Clones the computed value of a given property. Prefer get_align_content
where a reference is enough.
Sourcepub fn align_content_equals(&self, other: &Self) -> bool
pub fn align_content_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_justify_content(&self) -> &T
pub fn get_justify_content(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_justify_content(&self) -> T
pub fn slow_clone_justify_content(&self) -> T
Clones the computed value of a given property. Prefer get_justify_content
where a reference is enough.
Sourcepub fn justify_content_equals(&self, other: &Self) -> bool
pub fn justify_content_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_align_self(&self) -> &T
pub fn get_align_self(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_align_self(&self) -> T
pub fn slow_clone_align_self(&self) -> T
Clones the computed value of a given property. Prefer get_align_self
where a reference is enough.
Sourcepub fn align_self_equals(&self, other: &Self) -> bool
pub fn align_self_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_justify_self(&self) -> &T
pub fn get_justify_self(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_justify_self(&self) -> T
pub fn slow_clone_justify_self(&self) -> T
Clones the computed value of a given property. Prefer get_justify_self
where a reference is enough.
Sourcepub fn justify_self_equals(&self, other: &Self) -> bool
pub fn justify_self_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_synthesis_position(&self) -> &T
pub fn get_font_synthesis_position(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_synthesis_position(&self) -> T
pub fn slow_clone_font_synthesis_position(&self) -> T
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: &Self) -> bool
pub fn font_synthesis_position_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_synthesis_small_caps(&self) -> &T
pub fn get_font_synthesis_small_caps(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_synthesis_small_caps(&self) -> T
pub fn slow_clone_font_synthesis_small_caps(&self) -> T
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: &Self) -> bool
pub fn font_synthesis_small_caps_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_synthesis_weight(&self) -> &T
pub fn get_font_synthesis_weight(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_synthesis_weight(&self) -> T
pub fn slow_clone_font_synthesis_weight(&self) -> T
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: &Self) -> bool
pub fn font_synthesis_weight_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overflow_x(&self) -> &T
pub fn get_overflow_x(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overflow_x(&self) -> T
pub fn slow_clone_overflow_x(&self) -> T
Clones the computed value of a given property. Prefer get_overflow_x
where a reference is enough.
Sourcepub fn overflow_x_equals(&self, other: &Self) -> bool
pub fn overflow_x_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overflow_y(&self) -> &T
pub fn get_overflow_y(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overflow_y(&self) -> T
pub fn slow_clone_overflow_y(&self) -> T
Clones the computed value of a given property. Prefer get_overflow_y
where a reference is enough.
Sourcepub fn overflow_y_equals(&self, other: &Self) -> bool
pub fn overflow_y_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overscroll_behavior_x(&self) -> &T
pub fn get_overscroll_behavior_x(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overscroll_behavior_x(&self) -> T
pub fn slow_clone_overscroll_behavior_x(&self) -> T
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: &Self) -> bool
pub fn overscroll_behavior_x_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overscroll_behavior_y(&self) -> &T
pub fn get_overscroll_behavior_y(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overscroll_behavior_y(&self) -> T
pub fn slow_clone_overscroll_behavior_y(&self) -> T
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: &Self) -> bool
pub fn overscroll_behavior_y_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_style(&self) -> &T
pub fn get_border_bottom_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_style(&self) -> T
pub fn slow_clone_border_bottom_style(&self) -> T
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: &Self) -> bool
pub fn border_bottom_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_left_style(&self) -> &T
pub fn get_border_left_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_left_style(&self) -> T
pub fn slow_clone_border_left_style(&self) -> T
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: &Self) -> bool
pub fn border_left_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_right_style(&self) -> &T
pub fn get_border_right_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_right_style(&self) -> T
pub fn slow_clone_border_right_style(&self) -> T
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: &Self) -> bool
pub fn border_right_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_style(&self) -> &T
pub fn get_border_top_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_style(&self) -> T
pub fn slow_clone_border_top_style(&self) -> T
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: &Self) -> bool
pub fn border_top_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_composition(&self) -> T
pub fn slow_clone_animation_composition(&self) -> T
Clones the computed value of a given property. Prefer get_animation_composition
where a reference is enough.
Sourcepub fn animation_composition_equals(&self, other: &Self) -> bool
pub fn animation_composition_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_delay(&self) -> T
pub fn slow_clone_animation_delay(&self) -> T
Clones the computed value of a given property. Prefer get_animation_delay
where a reference is enough.
Sourcepub fn animation_delay_equals(&self, other: &Self) -> bool
pub fn animation_delay_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_direction(&self) -> T
pub fn slow_clone_animation_direction(&self) -> T
Clones the computed value of a given property. Prefer get_animation_direction
where a reference is enough.
Sourcepub fn animation_direction_equals(&self, other: &Self) -> bool
pub fn animation_direction_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_duration(&self) -> T
pub fn slow_clone_animation_duration(&self) -> T
Clones the computed value of a given property. Prefer get_animation_duration
where a reference is enough.
Sourcepub fn animation_duration_equals(&self, other: &Self) -> bool
pub fn animation_duration_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_fill_mode(&self) -> T
pub fn slow_clone_animation_fill_mode(&self) -> T
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: &Self) -> bool
pub fn animation_fill_mode_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_iteration_count(&self) -> T
pub fn slow_clone_animation_iteration_count(&self) -> T
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: &Self) -> bool
pub fn animation_iteration_count_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_name(&self) -> T
pub fn slow_clone_animation_name(&self) -> T
Clones the computed value of a given property. Prefer get_animation_name
where a reference is enough.
Sourcepub fn animation_name_equals(&self, other: &Self) -> bool
pub fn animation_name_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_play_state(&self) -> T
pub fn slow_clone_animation_play_state(&self) -> T
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: &Self) -> bool
pub fn animation_play_state_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_range_end(&self) -> T
pub fn slow_clone_animation_range_end(&self) -> T
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: &Self) -> bool
pub fn animation_range_end_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_range_start(&self) -> T
pub fn slow_clone_animation_range_start(&self) -> T
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: &Self) -> bool
pub fn animation_range_start_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_timeline(&self) -> T
pub fn slow_clone_animation_timeline(&self) -> T
Clones the computed value of a given property. Prefer get_animation_timeline
where a reference is enough.
Sourcepub fn animation_timeline_equals(&self, other: &Self) -> bool
pub fn animation_timeline_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_animation_timing_function(&self) -> T
pub fn slow_clone_animation_timing_function(&self) -> T
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: &Self) -> bool
pub fn animation_timing_function_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_aspect_ratio(&self) -> &T
pub fn get_aspect_ratio(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_aspect_ratio(&self) -> T
pub fn slow_clone_aspect_ratio(&self) -> T
Clones the computed value of a given property. Prefer get_aspect_ratio
where a reference is enough.
Sourcepub fn aspect_ratio_equals(&self, other: &Self) -> bool
pub fn aspect_ratio_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_backdrop_filter(&self) -> &[T] ⓘ
pub fn get_backdrop_filter(&self) -> &[T] ⓘ
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_backdrop_filter(&self) -> T
pub fn slow_clone_backdrop_filter(&self) -> T
Clones the computed value of a given property. Prefer get_backdrop_filter
where a reference is enough.
Sourcepub fn backdrop_filter_equals(&self, other: &Self) -> bool
pub fn backdrop_filter_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_attachment(&self) -> T
pub fn slow_clone_background_attachment(&self) -> T
Clones the computed value of a given property. Prefer get_background_attachment
where a reference is enough.
Sourcepub fn background_attachment_equals(&self, other: &Self) -> bool
pub fn background_attachment_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_blend_mode(&self) -> T
pub fn slow_clone_background_blend_mode(&self) -> T
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: &Self) -> bool
pub fn background_blend_mode_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_clip(&self) -> T
pub fn slow_clone_background_clip(&self) -> T
Clones the computed value of a given property. Prefer get_background_clip
where a reference is enough.
Sourcepub fn background_clip_equals(&self, other: &Self) -> bool
pub fn background_clip_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_image(&self) -> T
pub fn slow_clone_background_image(&self) -> T
Clones the computed value of a given property. Prefer get_background_image
where a reference is enough.
Sourcepub fn background_image_equals(&self, other: &Self) -> bool
pub fn background_image_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_origin(&self) -> T
pub fn slow_clone_background_origin(&self) -> T
Clones the computed value of a given property. Prefer get_background_origin
where a reference is enough.
Sourcepub fn background_origin_equals(&self, other: &Self) -> bool
pub fn background_origin_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_position_x(&self) -> T
pub fn slow_clone_background_position_x(&self) -> T
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: &Self) -> bool
pub fn background_position_x_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_position_y(&self) -> T
pub fn slow_clone_background_position_y(&self) -> T
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: &Self) -> bool
pub fn background_position_y_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_repeat(&self) -> T
pub fn slow_clone_background_repeat(&self) -> T
Clones the computed value of a given property. Prefer get_background_repeat
where a reference is enough.
Sourcepub fn background_repeat_equals(&self, other: &Self) -> bool
pub fn background_repeat_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_background_size(&self) -> T
pub fn slow_clone_background_size(&self) -> T
Clones the computed value of a given property. Prefer get_background_size
where a reference is enough.
Sourcepub fn background_size_equals(&self, other: &Self) -> bool
pub fn background_size_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_baseline_shift(&self) -> &T
pub fn get_baseline_shift(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_baseline_shift(&self) -> T
pub fn slow_clone_baseline_shift(&self) -> T
Clones the computed value of a given property. Prefer get_baseline_shift
where a reference is enough.
Sourcepub fn baseline_shift_equals(&self, other: &Self) -> bool
pub fn baseline_shift_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_outset(&self) -> &T
pub fn get_border_image_outset(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_outset(&self) -> T
pub fn slow_clone_border_image_outset(&self) -> T
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: &Self) -> bool
pub fn border_image_outset_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_slice(&self) -> &T
pub fn get_border_image_slice(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_slice(&self) -> T
pub fn slow_clone_border_image_slice(&self) -> T
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: &Self) -> bool
pub fn border_image_slice_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_width(&self) -> &T
pub fn get_border_image_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_width(&self) -> T
pub fn slow_clone_border_image_width(&self) -> T
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: &Self) -> bool
pub fn border_image_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_spacing(&self) -> &T
pub fn get_border_spacing(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_spacing(&self) -> T
pub fn slow_clone_border_spacing(&self) -> T
Clones the computed value of a given property. Prefer get_border_spacing
where a reference is enough.
Sourcepub fn border_spacing_equals(&self, other: &Self) -> bool
pub fn border_spacing_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_box_shadow(&self) -> &[T] ⓘ
pub fn get_box_shadow(&self) -> &[T] ⓘ
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_box_shadow(&self) -> T
pub fn slow_clone_box_shadow(&self) -> T
Clones the computed value of a given property. Prefer get_box_shadow
where a reference is enough.
Sourcepub fn box_shadow_equals(&self, other: &Self) -> bool
pub fn box_shadow_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_caret_color(&self) -> &T
pub fn get_caret_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_caret_color(&self) -> T
pub fn slow_clone_caret_color(&self) -> T
Clones the computed value of a given property. Prefer get_caret_color
where a reference is enough.
Sourcepub fn caret_color_equals(&self, other: &Self) -> bool
pub fn caret_color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_clip(&self) -> T
pub fn slow_clone_clip(&self) -> T
Clones the computed value of a given property. Prefer get_clip
where a reference is enough.
Sourcepub fn clip_equals(&self, other: &Self) -> bool
pub fn clip_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_clip_path(&self) -> &T
pub fn get_clip_path(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_clip_path(&self) -> T
pub fn slow_clone_clip_path(&self) -> T
Clones the computed value of a given property. Prefer get_clip_path
where a reference is enough.
Sourcepub fn clip_path_equals(&self, other: &Self) -> bool
pub fn clip_path_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_color(&self) -> T
pub fn slow_clone_color(&self) -> T
Clones the computed value of a given property. Prefer get_color
where a reference is enough.
Sourcepub fn color_equals(&self, other: &Self) -> bool
pub fn color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_color_scheme(&self) -> &T
pub fn get_color_scheme(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_color_scheme(&self) -> T
pub fn slow_clone_color_scheme(&self) -> T
Clones the computed value of a given property. Prefer get_color_scheme
where a reference is enough.
Sourcepub fn color_scheme_equals(&self, other: &Self) -> bool
pub fn color_scheme_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_column_count(&self) -> &T
pub fn get_column_count(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_column_count(&self) -> T
pub fn slow_clone_column_count(&self) -> T
Clones the computed value of a given property. Prefer get_column_count
where a reference is enough.
Sourcepub fn column_count_equals(&self, other: &Self) -> bool
pub fn column_count_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_column_width(&self) -> &T
pub fn get_column_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_column_width(&self) -> T
pub fn slow_clone_column_width(&self) -> T
Clones the computed value of a given property. Prefer get_column_width
where a reference is enough.
Sourcepub fn column_width_equals(&self, other: &Self) -> bool
pub fn column_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_container_name(&self) -> &T
pub fn get_container_name(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_container_name(&self) -> T
pub fn slow_clone_container_name(&self) -> T
Clones the computed value of a given property. Prefer get_container_name
where a reference is enough.
Sourcepub fn container_name_equals(&self, other: &Self) -> bool
pub fn container_name_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_content(&self) -> &T
pub fn get_content(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_content(&self) -> T
pub fn slow_clone_content(&self) -> T
Clones the computed value of a given property. Prefer get_content
where a reference is enough.
Sourcepub fn content_equals(&self, other: &Self) -> bool
pub fn content_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_counter_increment(&self) -> &T
pub fn get_counter_increment(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_counter_increment(&self) -> T
pub fn slow_clone_counter_increment(&self) -> T
Clones the computed value of a given property. Prefer get_counter_increment
where a reference is enough.
Sourcepub fn counter_increment_equals(&self, other: &Self) -> bool
pub fn counter_increment_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_counter_reset(&self) -> &T
pub fn get_counter_reset(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_counter_reset(&self) -> T
pub fn slow_clone_counter_reset(&self) -> T
Clones the computed value of a given property. Prefer get_counter_reset
where a reference is enough.
Sourcepub fn counter_reset_equals(&self, other: &Self) -> bool
pub fn counter_reset_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_cursor(&self) -> &T
pub fn get_cursor(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_cursor(&self) -> T
pub fn slow_clone_cursor(&self) -> T
Clones the computed value of a given property. Prefer get_cursor
where a reference is enough.
Sourcepub fn cursor_equals(&self, other: &Self) -> bool
pub fn cursor_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_d(&self) -> T
pub fn slow_clone_d(&self) -> T
Clones the computed value of a given property. Prefer get_d
where a reference is enough.
Sourcepub fn get_filter(&self) -> &[T] ⓘ
pub fn get_filter(&self) -> &[T] ⓘ
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_filter(&self) -> T
pub fn slow_clone_filter(&self) -> T
Clones the computed value of a given property. Prefer get_filter
where a reference is enough.
Sourcepub fn filter_equals(&self, other: &Self) -> bool
pub fn filter_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_basis(&self) -> &T
pub fn get_flex_basis(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_basis(&self) -> T
pub fn slow_clone_flex_basis(&self) -> T
Clones the computed value of a given property. Prefer get_flex_basis
where a reference is enough.
Sourcepub fn flex_basis_equals(&self, other: &Self) -> bool
pub fn flex_basis_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_family(&self) -> &T
pub fn get_font_family(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_family(&self) -> T
pub fn slow_clone_font_family(&self) -> T
Clones the computed value of a given property. Prefer get_font_family
where a reference is enough.
Sourcepub fn font_family_equals(&self, other: &Self) -> bool
pub fn font_family_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_feature_settings(&self) -> &T
pub fn get_font_feature_settings(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_feature_settings(&self) -> T
pub fn slow_clone_font_feature_settings(&self) -> T
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: &Self) -> bool
pub fn font_feature_settings_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_font_size(&self) -> T
pub fn slow_clone_font_size(&self) -> T
Clones the computed value of a given property. Prefer get_font_size
where a reference is enough.
Sourcepub fn font_size_equals(&self, other: &Self) -> bool
pub fn font_size_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_size_adjust(&self) -> &T
pub fn get_font_size_adjust(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_size_adjust(&self) -> T
pub fn slow_clone_font_size_adjust(&self) -> T
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: &Self) -> bool
pub fn font_size_adjust_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_style(&self) -> &T
pub fn get_font_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_style(&self) -> T
pub fn slow_clone_font_style(&self) -> T
Clones the computed value of a given property. Prefer get_font_style
where a reference is enough.
Sourcepub fn font_style_equals(&self, other: &Self) -> bool
pub fn font_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variant_alternates(&self) -> &T
pub fn get_font_variant_alternates(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variant_alternates(&self) -> T
pub fn slow_clone_font_variant_alternates(&self) -> T
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: &Self) -> bool
pub fn font_variant_alternates_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_variation_settings(&self) -> &T
pub fn get_font_variation_settings(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_variation_settings(&self) -> T
pub fn slow_clone_font_variation_settings(&self) -> T
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: &Self) -> bool
pub fn font_variation_settings_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_weight(&self) -> &T
pub fn get_font_weight(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_weight(&self) -> T
pub fn slow_clone_font_weight(&self) -> T
Clones the computed value of a given property. Prefer get_font_weight
where a reference is enough.
Sourcepub fn font_weight_equals(&self, other: &Self) -> bool
pub fn font_weight_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_font_width(&self) -> &T
pub fn get_font_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_font_width(&self) -> T
pub fn slow_clone_font_width(&self) -> T
Clones the computed value of a given property. Prefer get_font_width
where a reference is enough.
Sourcepub fn font_width_equals(&self, other: &Self) -> bool
pub fn font_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_template_areas(&self) -> &T
pub fn get_grid_template_areas(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_template_areas(&self) -> T
pub fn slow_clone_grid_template_areas(&self) -> T
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: &Self) -> bool
pub fn grid_template_areas_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_hyphenate_character(&self) -> &T
pub fn get_hyphenate_character(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_hyphenate_character(&self) -> T
pub fn slow_clone_hyphenate_character(&self) -> T
Clones the computed value of a given property. Prefer get_hyphenate_character
where a reference is enough.
Sourcepub fn hyphenate_character_equals(&self, other: &Self) -> bool
pub fn hyphenate_character_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_initial_letter(&self) -> &T
pub fn get_initial_letter(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_initial_letter(&self) -> T
pub fn slow_clone_initial_letter(&self) -> T
Clones the computed value of a given property. Prefer get_initial_letter
where a reference is enough.
Sourcepub fn initial_letter_equals(&self, other: &Self) -> bool
pub fn initial_letter_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_letter_spacing(&self) -> &T
pub fn get_letter_spacing(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_letter_spacing(&self) -> T
pub fn slow_clone_letter_spacing(&self) -> T
Clones the computed value of a given property. Prefer get_letter_spacing
where a reference is enough.
Sourcepub fn letter_spacing_equals(&self, other: &Self) -> bool
pub fn letter_spacing_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_line_clamp(&self) -> &T
pub fn get_line_clamp(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_line_clamp(&self) -> T
pub fn slow_clone_line_clamp(&self) -> T
Clones the computed value of a given property. Prefer get_line_clamp
where a reference is enough.
Sourcepub fn line_clamp_equals(&self, other: &Self) -> bool
pub fn line_clamp_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_line_height(&self) -> &T
pub fn get_line_height(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_line_height(&self) -> T
pub fn slow_clone_line_height(&self) -> T
Clones the computed value of a given property. Prefer get_line_height
where a reference is enough.
Sourcepub fn line_height_equals(&self, other: &Self) -> bool
pub fn line_height_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_list_style_type(&self) -> &T
pub fn get_list_style_type(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_list_style_type(&self) -> T
pub fn slow_clone_list_style_type(&self) -> T
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: &Self) -> bool
pub fn list_style_type_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_clip(&self) -> T
pub fn slow_clone_mask_clip(&self) -> T
Clones the computed value of a given property. Prefer get_mask_clip
where a reference is enough.
Sourcepub fn mask_clip_equals(&self, other: &Self) -> bool
pub fn mask_clip_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_composite(&self) -> T
pub fn slow_clone_mask_composite(&self) -> T
Clones the computed value of a given property. Prefer get_mask_composite
where a reference is enough.
Sourcepub fn mask_composite_equals(&self, other: &Self) -> bool
pub fn mask_composite_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_image(&self) -> T
pub fn slow_clone_mask_image(&self) -> T
Clones the computed value of a given property. Prefer get_mask_image
where a reference is enough.
Sourcepub fn mask_image_equals(&self, other: &Self) -> bool
pub fn mask_image_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_mode(&self) -> T
pub fn slow_clone_mask_mode(&self) -> T
Clones the computed value of a given property. Prefer get_mask_mode
where a reference is enough.
Sourcepub fn mask_mode_equals(&self, other: &Self) -> bool
pub fn mask_mode_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_origin(&self) -> T
pub fn slow_clone_mask_origin(&self) -> T
Clones the computed value of a given property. Prefer get_mask_origin
where a reference is enough.
Sourcepub fn mask_origin_equals(&self, other: &Self) -> bool
pub fn mask_origin_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_position_x(&self) -> T
pub fn slow_clone_mask_position_x(&self) -> T
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: &Self) -> bool
pub fn mask_position_x_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_position_y(&self) -> T
pub fn slow_clone_mask_position_y(&self) -> T
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: &Self) -> bool
pub fn mask_position_y_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_repeat(&self) -> T
pub fn slow_clone_mask_repeat(&self) -> T
Clones the computed value of a given property. Prefer get_mask_repeat
where a reference is enough.
Sourcepub fn mask_repeat_equals(&self, other: &Self) -> bool
pub fn mask_repeat_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_mask_size(&self) -> T
pub fn slow_clone_mask_size(&self) -> T
Clones the computed value of a given property. Prefer get_mask_size
where a reference is enough.
Sourcepub fn mask_size_equals(&self, other: &Self) -> bool
pub fn mask_size_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_math_depth(&self) -> &T
pub fn get_math_depth(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_math_depth(&self) -> T
pub fn slow_clone_math_depth(&self) -> T
Clones the computed value of a given property. Prefer get_math_depth
where a reference is enough.
Sourcepub fn math_depth_equals(&self, other: &Self) -> bool
pub fn math_depth_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get__moz_min_font_size_ratio(&self) -> &T
pub fn get__moz_min_font_size_ratio(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__moz_min_font_size_ratio(&self) -> T
pub fn slow_clone__moz_min_font_size_ratio(&self) -> T
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: &Self) -> bool
pub fn _moz_min_font_size_ratio_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_offset_path(&self) -> &T
pub fn get_offset_path(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_offset_path(&self) -> T
pub fn slow_clone_offset_path(&self) -> T
Clones the computed value of a given property. Prefer get_offset_path
where a reference is enough.
Sourcepub fn offset_path_equals(&self, other: &Self) -> bool
pub fn offset_path_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_opacity(&self) -> &T
pub fn get_opacity(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_opacity(&self) -> T
pub fn slow_clone_opacity(&self) -> T
Clones the computed value of a given property. Prefer get_opacity
where a reference is enough.
Sourcepub fn opacity_equals(&self, other: &Self) -> bool
pub fn opacity_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_outline_offset(&self) -> &T
pub fn get_outline_offset(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_outline_offset(&self) -> T
pub fn slow_clone_outline_offset(&self) -> T
Clones the computed value of a given property. Prefer get_outline_offset
where a reference is enough.
Sourcepub fn outline_offset_equals(&self, other: &Self) -> bool
pub fn outline_offset_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_overflow_clip_margin(&self) -> &T
pub fn get_overflow_clip_margin(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_overflow_clip_margin(&self) -> T
pub fn slow_clone_overflow_clip_margin(&self) -> T
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: &Self) -> bool
pub fn overflow_clip_margin_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_perspective(&self) -> &T
pub fn get_perspective(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_perspective(&self) -> T
pub fn slow_clone_perspective(&self) -> T
Clones the computed value of a given property. Prefer get_perspective
where a reference is enough.
Sourcepub fn perspective_equals(&self, other: &Self) -> bool
pub fn perspective_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_position_try_fallbacks(&self) -> &T
pub fn get_position_try_fallbacks(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_position_try_fallbacks(&self) -> T
pub fn slow_clone_position_try_fallbacks(&self) -> T
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: &Self) -> bool
pub fn position_try_fallbacks_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_quotes(&self) -> &T
pub fn get_quotes(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_quotes(&self) -> T
pub fn slow_clone_quotes(&self) -> T
Clones the computed value of a given property. Prefer get_quotes
where a reference is enough.
Sourcepub fn quotes_equals(&self, other: &Self) -> bool
pub fn quotes_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_rotate(&self) -> &T
pub fn get_rotate(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_rotate(&self) -> T
pub fn slow_clone_rotate(&self) -> T
Clones the computed value of a given property. Prefer get_rotate
where a reference is enough.
Sourcepub fn rotate_equals(&self, other: &Self) -> bool
pub fn rotate_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_scale(&self) -> T
pub fn slow_clone_scale(&self) -> T
Clones the computed value of a given property. Prefer get_scale
where a reference is enough.
Sourcepub fn scale_equals(&self, other: &Self) -> bool
pub fn scale_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_scrollbar_color(&self) -> &T
pub fn get_scrollbar_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_scrollbar_color(&self) -> T
pub fn slow_clone_scrollbar_color(&self) -> T
Clones the computed value of a given property. Prefer get_scrollbar_color
where a reference is enough.
Sourcepub fn scrollbar_color_equals(&self, other: &Self) -> bool
pub fn scrollbar_color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_dasharray(&self) -> &T
pub fn get_stroke_dasharray(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_dasharray(&self) -> T
pub fn slow_clone_stroke_dasharray(&self) -> T
Clones the computed value of a given property. Prefer get_stroke_dasharray
where a reference is enough.
Sourcepub fn stroke_dasharray_equals(&self, other: &Self) -> bool
pub fn stroke_dasharray_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_dashoffset(&self) -> &T
pub fn get_stroke_dashoffset(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_dashoffset(&self) -> T
pub fn slow_clone_stroke_dashoffset(&self) -> T
Clones the computed value of a given property. Prefer get_stroke_dashoffset
where a reference is enough.
Sourcepub fn stroke_dashoffset_equals(&self, other: &Self) -> bool
pub fn stroke_dashoffset_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_width(&self) -> &T
pub fn get_stroke_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_width(&self) -> T
pub fn slow_clone_stroke_width(&self) -> T
Clones the computed value of a given property. Prefer get_stroke_width
where a reference is enough.
Sourcepub fn stroke_width_equals(&self, other: &Self) -> bool
pub fn stroke_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_tab_size(&self) -> &T
pub fn get_tab_size(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_tab_size(&self) -> T
pub fn slow_clone_tab_size(&self) -> T
Clones the computed value of a given property. Prefer get_tab_size
where a reference is enough.
Sourcepub fn tab_size_equals(&self, other: &Self) -> bool
pub fn tab_size_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_inset(&self) -> &T
pub fn get_text_decoration_inset(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_inset(&self) -> T
pub fn slow_clone_text_decoration_inset(&self) -> T
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: &Self) -> bool
pub fn text_decoration_inset_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_thickness(&self) -> &T
pub fn get_text_decoration_thickness(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_thickness(&self) -> T
pub fn slow_clone_text_decoration_thickness(&self) -> T
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: &Self) -> bool
pub fn text_decoration_thickness_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_emphasis_style(&self) -> &T
pub fn get_text_emphasis_style(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_emphasis_style(&self) -> T
pub fn slow_clone_text_emphasis_style(&self) -> T
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: &Self) -> bool
pub fn text_emphasis_style_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_indent(&self) -> &T
pub fn get_text_indent(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_indent(&self) -> T
pub fn slow_clone_text_indent(&self) -> T
Clones the computed value of a given property. Prefer get_text_indent
where a reference is enough.
Sourcepub fn text_indent_equals(&self, other: &Self) -> bool
pub fn text_indent_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_overflow(&self) -> &T
pub fn get_text_overflow(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_overflow(&self) -> T
pub fn slow_clone_text_overflow(&self) -> T
Clones the computed value of a given property. Prefer get_text_overflow
where a reference is enough.
Sourcepub fn text_overflow_equals(&self, other: &Self) -> bool
pub fn text_overflow_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_shadow(&self) -> &[T] ⓘ
pub fn get_text_shadow(&self) -> &[T] ⓘ
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_shadow(&self) -> T
pub fn slow_clone_text_shadow(&self) -> T
Clones the computed value of a given property. Prefer get_text_shadow
where a reference is enough.
Sourcepub fn text_shadow_equals(&self, other: &Self) -> bool
pub fn text_shadow_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_underline_offset(&self) -> &T
pub fn get_text_underline_offset(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_underline_offset(&self) -> T
pub fn slow_clone_text_underline_offset(&self) -> T
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: &Self) -> bool
pub fn text_underline_offset_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_transform(&self) -> &T
pub fn get_transform(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_transform(&self) -> T
pub fn slow_clone_transform(&self) -> T
Clones the computed value of a given property. Prefer get_transform
where a reference is enough.
Sourcepub fn transform_equals(&self, other: &Self) -> bool
pub fn transform_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_transform_origin(&self) -> &T
pub fn get_transform_origin(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_transform_origin(&self) -> T
pub fn slow_clone_transform_origin(&self) -> T
Clones the computed value of a given property. Prefer get_transform_origin
where a reference is enough.
Sourcepub fn transform_origin_equals(&self, other: &Self) -> bool
pub fn transform_origin_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_behavior(&self) -> T
pub fn slow_clone_transition_behavior(&self) -> T
Clones the computed value of a given property. Prefer get_transition_behavior
where a reference is enough.
Sourcepub fn transition_behavior_equals(&self, other: &Self) -> bool
pub fn transition_behavior_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_delay(&self) -> T
pub fn slow_clone_transition_delay(&self) -> T
Clones the computed value of a given property. Prefer get_transition_delay
where a reference is enough.
Sourcepub fn transition_delay_equals(&self, other: &Self) -> bool
pub fn transition_delay_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_duration(&self) -> T
pub fn slow_clone_transition_duration(&self) -> T
Clones the computed value of a given property. Prefer get_transition_duration
where a reference is enough.
Sourcepub fn transition_duration_equals(&self, other: &Self) -> bool
pub fn transition_duration_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_property(&self) -> T
pub fn slow_clone_transition_property(&self) -> T
Clones the computed value of a given property. Prefer get_transition_property
where a reference is enough.
Sourcepub fn transition_property_equals(&self, other: &Self) -> bool
pub fn transition_property_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_transition_timing_function(&self) -> T
pub fn slow_clone_transition_timing_function(&self) -> T
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: &Self) -> bool
pub fn transition_timing_function_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_translate(&self) -> &T
pub fn get_translate(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_translate(&self) -> T
pub fn slow_clone_translate(&self) -> T
Clones the computed value of a given property. Prefer get_translate
where a reference is enough.
Sourcepub fn translate_equals(&self, other: &Self) -> bool
pub fn translate_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_view_transition_class(&self) -> &T
pub fn get_view_transition_class(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_view_transition_class(&self) -> T
pub fn slow_clone_view_transition_class(&self) -> T
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: &Self) -> bool
pub fn view_transition_class_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_view_transition_name(&self) -> &T
pub fn get_view_transition_name(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_view_transition_name(&self) -> T
pub fn slow_clone_view_transition_name(&self) -> T
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: &Self) -> bool
pub fn view_transition_name_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_will_change(&self) -> &T
pub fn get_will_change(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_will_change(&self) -> T
pub fn slow_clone_will_change(&self) -> T
Clones the computed value of a given property. Prefer get_will_change
where a reference is enough.
Sourcepub fn will_change_equals(&self, other: &Self) -> bool
pub fn will_change_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_word_spacing(&self) -> &T
pub fn get_word_spacing(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_word_spacing(&self) -> T
pub fn slow_clone_word_spacing(&self) -> T
Clones the computed value of a given property. Prefer get_word_spacing
where a reference is enough.
Sourcepub fn word_spacing_equals(&self, other: &Self) -> bool
pub fn word_spacing_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get__x_lang(&self) -> &T
pub fn get__x_lang(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone__x_lang(&self) -> T
pub fn slow_clone__x_lang(&self) -> T
Clones the computed value of a given property. Prefer get__x_lang
where a reference is enough.
Sourcepub fn _x_lang_equals(&self, other: &Self) -> bool
pub fn _x_lang_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_z_index(&self) -> &T
pub fn get_z_index(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_z_index(&self) -> T
pub fn slow_clone_z_index(&self) -> T
Clones the computed value of a given property. Prefer get_z_index
where a reference is enough.
Sourcepub fn z_index_equals(&self, other: &Self) -> bool
pub fn z_index_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_zoom(&self) -> T
pub fn slow_clone_zoom(&self) -> T
Clones the computed value of a given property. Prefer get_zoom
where a reference is enough.
Sourcepub fn zoom_equals(&self, other: &Self) -> bool
pub fn zoom_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_object_position(&self) -> &T
pub fn get_object_position(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_object_position(&self) -> T
pub fn slow_clone_object_position(&self) -> T
Clones the computed value of a given property. Prefer get_object_position
where a reference is enough.
Sourcepub fn object_position_equals(&self, other: &Self) -> bool
pub fn object_position_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_perspective_origin(&self) -> &T
pub fn get_perspective_origin(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_perspective_origin(&self) -> T
pub fn slow_clone_perspective_origin(&self) -> T
Clones the computed value of a given property. Prefer get_perspective_origin
where a reference is enough.
Sourcepub fn perspective_origin_equals(&self, other: &Self) -> bool
pub fn perspective_origin_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_fill(&self) -> T
pub fn slow_clone_fill(&self) -> T
Clones the computed value of a given property. Prefer get_fill
where a reference is enough.
Sourcepub fn fill_equals(&self, other: &Self) -> bool
pub fn fill_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke(&self) -> &T
pub fn get_stroke(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke(&self) -> T
pub fn slow_clone_stroke(&self) -> T
Clones the computed value of a given property. Prefer get_stroke
where a reference is enough.
Sourcepub fn stroke_equals(&self, other: &Self) -> bool
pub fn stroke_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_template_columns(&self) -> &T
pub fn get_grid_template_columns(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_template_columns(&self) -> T
pub fn slow_clone_grid_template_columns(&self) -> T
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: &Self) -> bool
pub fn grid_template_columns_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_template_rows(&self) -> &T
pub fn get_grid_template_rows(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_template_rows(&self) -> T
pub fn slow_clone_grid_template_rows(&self) -> T
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: &Self) -> bool
pub fn grid_template_rows_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_image_source(&self) -> &T
pub fn get_border_image_source(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_image_source(&self) -> T
pub fn slow_clone_border_image_source(&self) -> T
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: &Self) -> bool
pub fn border_image_source_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_list_style_image(&self) -> &T
pub fn get_list_style_image(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_list_style_image(&self) -> T
pub fn slow_clone_list_style_image(&self) -> T
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: &Self) -> bool
pub fn list_style_image_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_auto_columns(&self) -> &T
pub fn get_grid_auto_columns(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_auto_columns(&self) -> T
pub fn slow_clone_grid_auto_columns(&self) -> T
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: &Self) -> bool
pub fn grid_auto_columns_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_auto_rows(&self) -> &T
pub fn get_grid_auto_rows(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_auto_rows(&self) -> T
pub fn slow_clone_grid_auto_rows(&self) -> T
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: &Self) -> bool
pub fn grid_auto_rows_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_line_count(&self) -> &T
pub fn get_flex_line_count(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_line_count(&self) -> T
pub fn slow_clone_flex_line_count(&self) -> T
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: &Self) -> bool
pub fn flex_line_count_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_order(&self) -> T
pub fn slow_clone_order(&self) -> T
Clones the computed value of a given property. Prefer get_order
where a reference is enough.
Sourcepub fn order_equals(&self, other: &Self) -> bool
pub fn order_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_rx(&self) -> T
pub fn slow_clone_rx(&self) -> T
Clones the computed value of a given property. Prefer get_rx
where a reference is enough.
Sourcepub fn slow_clone_ry(&self) -> T
pub fn slow_clone_ry(&self) -> T
Clones the computed value of a given property. Prefer get_ry
where a reference is enough.
Sourcepub fn get_fill_opacity(&self) -> &T
pub fn get_fill_opacity(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_fill_opacity(&self) -> T
pub fn slow_clone_fill_opacity(&self) -> T
Clones the computed value of a given property. Prefer get_fill_opacity
where a reference is enough.
Sourcepub fn fill_opacity_equals(&self, other: &Self) -> bool
pub fn fill_opacity_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_opacity(&self) -> &T
pub fn get_stroke_opacity(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_opacity(&self) -> T
pub fn slow_clone_stroke_opacity(&self) -> T
Clones the computed value of a given property. Prefer get_stroke_opacity
where a reference is enough.
Sourcepub fn stroke_opacity_equals(&self, other: &Self) -> bool
pub fn stroke_opacity_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_column_gap(&self) -> &T
pub fn get_column_gap(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_column_gap(&self) -> T
pub fn slow_clone_column_gap(&self) -> T
Clones the computed value of a given property. Prefer get_column_gap
where a reference is enough.
Sourcepub fn column_gap_equals(&self, other: &Self) -> bool
pub fn column_gap_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_row_gap(&self) -> &T
pub fn get_row_gap(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_row_gap(&self) -> T
pub fn slow_clone_row_gap(&self) -> T
Clones the computed value of a given property. Prefer get_row_gap
where a reference is enough.
Sourcepub fn row_gap_equals(&self, other: &Self) -> bool
pub fn row_gap_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_grow(&self) -> &T
pub fn get_flex_grow(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_grow(&self) -> T
pub fn slow_clone_flex_grow(&self) -> T
Clones the computed value of a given property. Prefer get_flex_grow
where a reference is enough.
Sourcepub fn flex_grow_equals(&self, other: &Self) -> bool
pub fn flex_grow_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_flex_shrink(&self) -> &T
pub fn get_flex_shrink(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_flex_shrink(&self) -> T
pub fn slow_clone_flex_shrink(&self) -> T
Clones the computed value of a given property. Prefer get_flex_shrink
where a reference is enough.
Sourcepub fn flex_shrink_equals(&self, other: &Self) -> bool
pub fn flex_shrink_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_stroke_miterlimit(&self) -> &T
pub fn get_stroke_miterlimit(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_stroke_miterlimit(&self) -> T
pub fn slow_clone_stroke_miterlimit(&self) -> T
Clones the computed value of a given property. Prefer get_stroke_miterlimit
where a reference is enough.
Sourcepub fn stroke_miterlimit_equals(&self, other: &Self) -> bool
pub fn stroke_miterlimit_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_column_end(&self) -> &T
pub fn get_grid_column_end(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_column_end(&self) -> T
pub fn slow_clone_grid_column_end(&self) -> T
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: &Self) -> bool
pub fn grid_column_end_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_column_start(&self) -> &T
pub fn get_grid_column_start(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_column_start(&self) -> T
pub fn slow_clone_grid_column_start(&self) -> T
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: &Self) -> bool
pub fn grid_column_start_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_row_end(&self) -> &T
pub fn get_grid_row_end(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_row_end(&self) -> T
pub fn slow_clone_grid_row_end(&self) -> T
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: &Self) -> bool
pub fn grid_row_end_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_grid_row_start(&self) -> &T
pub fn get_grid_row_start(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_grid_row_start(&self) -> T
pub fn slow_clone_grid_row_start(&self) -> T
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: &Self) -> bool
pub fn grid_row_start_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_cx(&self) -> T
pub fn slow_clone_cx(&self) -> T
Clones the computed value of a given property. Prefer get_cx
where a reference is enough.
Sourcepub fn slow_clone_cy(&self) -> T
pub fn slow_clone_cy(&self) -> T
Clones the computed value of a given property. Prefer get_cy
where a reference is enough.
Sourcepub fn slow_clone_x(&self) -> T
pub fn slow_clone_x(&self) -> T
Clones the computed value of a given property. Prefer get_x
where a reference is enough.
Sourcepub fn slow_clone_y(&self) -> T
pub fn slow_clone_y(&self) -> T
Clones the computed value of a given property. Prefer get_y
where a reference is enough.
Sourcepub fn get_max_height(&self) -> &T
pub fn get_max_height(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_max_height(&self) -> T
pub fn slow_clone_max_height(&self) -> T
Clones the computed value of a given property. Prefer get_max_height
where a reference is enough.
Sourcepub fn max_height_equals(&self, other: &Self) -> bool
pub fn max_height_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_max_width(&self) -> &T
pub fn get_max_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_max_width(&self) -> T
pub fn slow_clone_max_width(&self) -> T
Clones the computed value of a given property. Prefer get_max_width
where a reference is enough.
Sourcepub fn max_width_equals(&self, other: &Self) -> bool
pub fn max_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_left_radius(&self) -> &T
pub fn get_border_bottom_left_radius(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_left_radius(&self) -> T
pub fn slow_clone_border_bottom_left_radius(&self) -> T
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: &Self) -> bool
pub fn border_bottom_left_radius_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_right_radius(&self) -> &T
pub fn get_border_bottom_right_radius(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_right_radius(&self) -> T
pub fn slow_clone_border_bottom_right_radius(&self) -> T
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: &Self) -> bool
pub fn border_bottom_right_radius_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_left_radius(&self) -> &T
pub fn get_border_top_left_radius(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_left_radius(&self) -> T
pub fn slow_clone_border_top_left_radius(&self) -> T
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: &Self) -> bool
pub fn border_top_left_radius_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_right_radius(&self) -> &T
pub fn get_border_top_right_radius(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_right_radius(&self) -> T
pub fn slow_clone_border_top_right_radius(&self) -> T
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: &Self) -> bool
pub fn border_top_right_radius_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_corner_bottom_left_shape(&self) -> &T
pub fn get_corner_bottom_left_shape(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_corner_bottom_left_shape(&self) -> T
pub fn slow_clone_corner_bottom_left_shape(&self) -> T
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: &Self) -> bool
pub fn corner_bottom_left_shape_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_corner_bottom_right_shape(&self) -> &T
pub fn get_corner_bottom_right_shape(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_corner_bottom_right_shape(&self) -> T
pub fn slow_clone_corner_bottom_right_shape(&self) -> T
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: &Self) -> bool
pub fn corner_bottom_right_shape_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_corner_top_left_shape(&self) -> &T
pub fn get_corner_top_left_shape(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_corner_top_left_shape(&self) -> T
pub fn slow_clone_corner_top_left_shape(&self) -> T
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: &Self) -> bool
pub fn corner_top_left_shape_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_corner_top_right_shape(&self) -> &T
pub fn get_corner_top_right_shape(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_corner_top_right_shape(&self) -> T
pub fn slow_clone_corner_top_right_shape(&self) -> T
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: &Self) -> bool
pub fn corner_top_right_shape_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_bottom(&self) -> &T
pub fn get_bottom(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_bottom(&self) -> T
pub fn slow_clone_bottom(&self) -> T
Clones the computed value of a given property. Prefer get_bottom
where a reference is enough.
Sourcepub fn bottom_equals(&self, other: &Self) -> bool
pub fn bottom_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_left(&self) -> T
pub fn slow_clone_left(&self) -> T
Clones the computed value of a given property. Prefer get_left
where a reference is enough.
Sourcepub fn left_equals(&self, other: &Self) -> bool
pub fn left_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_right(&self) -> T
pub fn slow_clone_right(&self) -> T
Clones the computed value of a given property. Prefer get_right
where a reference is enough.
Sourcepub fn right_equals(&self, other: &Self) -> bool
pub fn right_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_top(&self) -> T
pub fn slow_clone_top(&self) -> T
Clones the computed value of a given property. Prefer get_top
where a reference is enough.
Sourcepub fn top_equals(&self, other: &Self) -> bool
pub fn top_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_margin_bottom(&self) -> &T
pub fn get_margin_bottom(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_margin_bottom(&self) -> T
pub fn slow_clone_margin_bottom(&self) -> T
Clones the computed value of a given property. Prefer get_margin_bottom
where a reference is enough.
Sourcepub fn margin_bottom_equals(&self, other: &Self) -> bool
pub fn margin_bottom_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_margin_left(&self) -> &T
pub fn get_margin_left(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_margin_left(&self) -> T
pub fn slow_clone_margin_left(&self) -> T
Clones the computed value of a given property. Prefer get_margin_left
where a reference is enough.
Sourcepub fn margin_left_equals(&self, other: &Self) -> bool
pub fn margin_left_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_margin_right(&self) -> &T
pub fn get_margin_right(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_margin_right(&self) -> T
pub fn slow_clone_margin_right(&self) -> T
Clones the computed value of a given property. Prefer get_margin_right
where a reference is enough.
Sourcepub fn margin_right_equals(&self, other: &Self) -> bool
pub fn margin_right_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_margin_top(&self) -> &T
pub fn get_margin_top(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_margin_top(&self) -> T
pub fn slow_clone_margin_top(&self) -> T
Clones the computed value of a given property. Prefer get_margin_top
where a reference is enough.
Sourcepub fn margin_top_equals(&self, other: &Self) -> bool
pub fn margin_top_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_height(&self) -> &T
pub fn get_height(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_height(&self) -> T
pub fn slow_clone_height(&self) -> T
Clones the computed value of a given property. Prefer get_height
where a reference is enough.
Sourcepub fn height_equals(&self, other: &Self) -> bool
pub fn height_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_min_height(&self) -> &T
pub fn get_min_height(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_min_height(&self) -> T
pub fn slow_clone_min_height(&self) -> T
Clones the computed value of a given property. Prefer get_min_height
where a reference is enough.
Sourcepub fn min_height_equals(&self, other: &Self) -> bool
pub fn min_height_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_min_width(&self) -> &T
pub fn get_min_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_min_width(&self) -> T
pub fn slow_clone_min_width(&self) -> T
Clones the computed value of a given property. Prefer get_min_width
where a reference is enough.
Sourcepub fn min_width_equals(&self, other: &Self) -> bool
pub fn min_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_width(&self) -> T
pub fn slow_clone_width(&self) -> T
Clones the computed value of a given property. Prefer get_width
where a reference is enough.
Sourcepub fn width_equals(&self, other: &Self) -> bool
pub fn width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_width(&self) -> &T
pub fn get_border_bottom_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_width(&self) -> T
pub fn slow_clone_border_bottom_width(&self) -> T
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: &Self) -> bool
pub fn border_bottom_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_left_width(&self) -> &T
pub fn get_border_left_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_left_width(&self) -> T
pub fn slow_clone_border_left_width(&self) -> T
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: &Self) -> bool
pub fn border_left_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_right_width(&self) -> &T
pub fn get_border_right_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_right_width(&self) -> T
pub fn slow_clone_border_right_width(&self) -> T
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: &Self) -> bool
pub fn border_right_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_width(&self) -> &T
pub fn get_border_top_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_width(&self) -> T
pub fn slow_clone_border_top_width(&self) -> T
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: &Self) -> bool
pub fn border_top_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_outline_width(&self) -> &T
pub fn get_outline_width(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_outline_width(&self) -> T
pub fn slow_clone_outline_width(&self) -> T
Clones the computed value of a given property. Prefer get_outline_width
where a reference is enough.
Sourcepub fn outline_width_equals(&self, other: &Self) -> bool
pub fn outline_width_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_padding_bottom(&self) -> &T
pub fn get_padding_bottom(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_padding_bottom(&self) -> T
pub fn slow_clone_padding_bottom(&self) -> T
Clones the computed value of a given property. Prefer get_padding_bottom
where a reference is enough.
Sourcepub fn padding_bottom_equals(&self, other: &Self) -> bool
pub fn padding_bottom_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_padding_left(&self) -> &T
pub fn get_padding_left(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_padding_left(&self) -> T
pub fn slow_clone_padding_left(&self) -> T
Clones the computed value of a given property. Prefer get_padding_left
where a reference is enough.
Sourcepub fn padding_left_equals(&self, other: &Self) -> bool
pub fn padding_left_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_padding_right(&self) -> &T
pub fn get_padding_right(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_padding_right(&self) -> T
pub fn slow_clone_padding_right(&self) -> T
Clones the computed value of a given property. Prefer get_padding_right
where a reference is enough.
Sourcepub fn padding_right_equals(&self, other: &Self) -> bool
pub fn padding_right_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_padding_top(&self) -> &T
pub fn get_padding_top(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_padding_top(&self) -> T
pub fn slow_clone_padding_top(&self) -> T
Clones the computed value of a given property. Prefer get_padding_top
where a reference is enough.
Sourcepub fn padding_top_equals(&self, other: &Self) -> bool
pub fn padding_top_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn slow_clone_r(&self) -> T
pub fn slow_clone_r(&self) -> T
Clones the computed value of a given property. Prefer get_r
where a reference is enough.
Sourcepub fn get_background_color(&self) -> &T
pub fn get_background_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_background_color(&self) -> T
pub fn slow_clone_background_color(&self) -> T
Clones the computed value of a given property. Prefer get_background_color
where a reference is enough.
Sourcepub fn background_color_equals(&self, other: &Self) -> bool
pub fn background_color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_bottom_color(&self) -> &T
pub fn get_border_bottom_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_bottom_color(&self) -> T
pub fn slow_clone_border_bottom_color(&self) -> T
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: &Self) -> bool
pub fn border_bottom_color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_left_color(&self) -> &T
pub fn get_border_left_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_left_color(&self) -> T
pub fn slow_clone_border_left_color(&self) -> T
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: &Self) -> bool
pub fn border_left_color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_right_color(&self) -> &T
pub fn get_border_right_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_right_color(&self) -> T
pub fn slow_clone_border_right_color(&self) -> T
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: &Self) -> bool
pub fn border_right_color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_border_top_color(&self) -> &T
pub fn get_border_top_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_border_top_color(&self) -> T
pub fn slow_clone_border_top_color(&self) -> T
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: &Self) -> bool
pub fn border_top_color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_outline_color(&self) -> &T
pub fn get_outline_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_outline_color(&self) -> T
pub fn slow_clone_outline_color(&self) -> T
Clones the computed value of a given property. Prefer get_outline_color
where a reference is enough.
Sourcepub fn outline_color_equals(&self, other: &Self) -> bool
pub fn outline_color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_decoration_color(&self) -> &T
pub fn get_text_decoration_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_decoration_color(&self) -> T
pub fn slow_clone_text_decoration_color(&self) -> T
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: &Self) -> bool
pub fn text_decoration_color_equals(&self, other: &Self) -> bool
Gets the computed value of a given property.
Sourcepub fn get_text_emphasis_color(&self) -> &T
pub fn get_text_emphasis_color(&self) -> &T
Gets a reference to the computed value of a given property.
Sourcepub fn slow_clone_text_emphasis_color(&self) -> T
pub fn slow_clone_text_emphasis_color(&self) -> T
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: &Self) -> bool
pub fn text_emphasis_color_equals(&self, other: &Self) -> 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 CssStringWriter,
) -> Result
pub fn computed_or_resolved_value( &self, property_id: LonghandId, context: Option<&mut Context<'_>>, dest: &mut CssStringWriter, ) -> Result
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: &Color) -> AbsoluteColor
pub fn resolve_color(&self, color: &Color) -> 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: AttributeReferences,
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<Self>
pub fn new( pseudo: Option<&PseudoElement>, custom_properties: ComputedCustomProperties, attribute_references: AttributeReferences, 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<Self>
Create a new refcounted ComputedValues
Sourcepub fn initial_values_with_font_override(default_font: Font) -> Arc<Self>
pub fn initial_values_with_font_override(default_font: Font) -> Arc<Self>
Get the initial computed values.
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(&Self),
pub fn each_cached_lazy_pseudo<F>(&self, _f: F)where
F: FnMut(&Self),
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) -> &Size
pub fn content_inline_size(&self) -> &Size
Get the logical computed inline size.
Sourcepub fn content_block_size(&self) -> &Size
pub fn content_block_size(&self) -> &Size
Get the logical computed block size.
Sourcepub fn min_inline_size(&self) -> &Size
pub fn min_inline_size(&self) -> &Size
Get the logical computed min inline size.
Sourcepub fn min_block_size(&self) -> &Size
pub fn min_block_size(&self) -> &Size
Get the logical computed min block size.
Sourcepub fn max_inline_size(&self) -> &MaxSize
pub fn max_inline_size(&self) -> &MaxSize
Get the logical computed max inline size.
Sourcepub fn max_block_size(&self) -> &MaxSize
pub fn max_block_size(&self) -> &MaxSize
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<&Margin>
pub fn logical_margin(&self) -> LogicalMargin<&Margin>
Gets the logical computed margin from this style.
Sourcepub fn logical_position(&self) -> LogicalMargin<&Inset>
pub fn logical_position(&self) -> LogicalMargin<&Inset>
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 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 Freeze for ComputedValues
impl !RefUnwindSafe for ComputedValues
impl Send for ComputedValues
impl Sync for ComputedValues
impl Unpin for ComputedValues
impl UnsafeUnpin for ComputedValues
impl !UnwindSafe 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,
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