Skip to main content

ComputedValues

Struct ComputedValues 

Source
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: ComputedValuesInner

The 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

Source

pub fn pseudo(&self) -> Option<PseudoElement>

Returns the pseudo-element that this style represents.

Source

pub fn is_pseudo_style(&self) -> bool

Returns true if this is the style for a pseudo-element.

Source

pub fn is_display_contents(&self) -> bool

Returns whether this style’s display value is equal to contents.

Source

pub fn rules(&self) -> &StrongRuleNode

Gets a reference to the rule node. Panic if no rule node exists.

Source

pub fn visited_rules(&self) -> Option<&StrongRuleNode>

Returns the visited rules, if applicable.

Source

pub fn custom_properties(&self) -> &ComputedCustomProperties

Gets a reference to the custom properties map (if one exists).

Source

pub fn get_align_items(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn align_items_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_alignment_baseline(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn alignment_baseline_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_backface_visibility(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn backface_visibility_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_baseline_source(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn baseline_source_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_collapse(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_collapse_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_image_repeat(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_image_repeat_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_box_decoration_break(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn box_decoration_break_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_box_sizing(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn box_sizing_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_caption_side(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn caption_side_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_clear(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_clear(&self) -> T

Clones the computed value of a given property. Prefer get_clear where a reference is enough.

Source

pub fn clear_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_column_span(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn column_span_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_contain(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_contain(&self) -> T

Clones the computed value of a given property. Prefer get_contain where a reference is enough.

Source

pub fn contain_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_container_type(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn container_type_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_direction(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_direction(&self) -> T

Clones the computed value of a given property. Prefer get_direction where a reference is enough.

Source

pub fn direction_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_display(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_display(&self) -> T

Clones the computed value of a given property. Prefer get_display where a reference is enough.

Source

pub fn display_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_dominant_baseline(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn dominant_baseline_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_empty_cells(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn empty_cells_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_fill_rule(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn fill_rule_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_flex_direction(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn flex_direction_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_flex_wrap(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn flex_wrap_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_float(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_float(&self) -> T

Clones the computed value of a given property. Prefer get_float where a reference is enough.

Source

pub fn float_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_kerning(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_kerning_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_language_override(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_language_override_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_optical_sizing(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_optical_sizing_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_synthesis_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_synthesis_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_variant_caps(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_variant_caps_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_variant_east_asian(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_variant_east_asian_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_variant_emoji(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_variant_emoji_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_variant_ligatures(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_variant_ligatures_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_variant_numeric(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_variant_numeric_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_variant_position(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_variant_position_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_forced_color_adjust(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn forced_color_adjust_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_auto_flow(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_auto_flow_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_hyphens(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_hyphens(&self) -> T

Clones the computed value of a given property. Prefer get_hyphens where a reference is enough.

Source

pub fn hyphens_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_image_rendering(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn image_rendering_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_isolation(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_isolation(&self) -> T

Clones the computed value of a given property. Prefer get_isolation where a reference is enough.

Source

pub fn isolation_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_justify_items(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn justify_items_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_line_break(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn line_break_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_list_style_position(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn list_style_position_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_mask_type(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn mask_type_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_math_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn math_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_mix_blend_mode(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn mix_blend_mode_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_object_fit(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn object_fit_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_outline_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn outline_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_overflow_wrap(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn overflow_wrap_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_pointer_events(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn pointer_events_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn slow_clone_position(&self) -> T

Clones the computed value of a given property. Prefer get_position where a reference is enough.

Source

pub fn position_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_position_area(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn position_area_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_ruby_align(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn ruby_align_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_ruby_position(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn ruby_position_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_scroll_behavior(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn scroll_behavior_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_scrollbar_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn scrollbar_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get__servo_top_layer(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn _servo_top_layer_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_stroke_linecap(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn stroke_linecap_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_stroke_linejoin(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn stroke_linejoin_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_table_layout(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn table_layout_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_align(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_align_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_align_last(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_align_last_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_autospace(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_autospace_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_box_edge(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_box_edge_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_box_trim(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_box_trim_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_combine_upright(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_combine_upright_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_decoration_line(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_decoration_line_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_decoration_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_decoration_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_emphasis_position(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_emphasis_position_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_justify(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_justify_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_orientation(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_orientation_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_rendering(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_rendering_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_transform(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_transform_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_underline_position(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_underline_position_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_wrap_mode(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_wrap_mode_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_wrap_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_wrap_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_touch_action(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn touch_action_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_transform_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn transform_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_unicode_bidi(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn unicode_bidi_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_user_select(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn user_select_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_visibility(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_visibility(&self) -> T

Clones the computed value of a given property. Prefer get_visibility where a reference is enough.

Source

pub fn visibility_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get__webkit_text_security(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn _webkit_text_security_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_white_space_collapse(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn white_space_collapse_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_word_break(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn word_break_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_writing_mode(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn writing_mode_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get__x_text_scale(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn _x_text_scale_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_appearance(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_appearance(&self) -> T

Clones the computed value of a given property. Prefer get_appearance where a reference is enough.

Source

pub fn appearance_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get__moz_default_appearance(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn _moz_default_appearance_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_align_content(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn align_content_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_justify_content(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn justify_content_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_align_self(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn align_self_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_justify_self(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn justify_self_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_synthesis_position(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_synthesis_position_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_synthesis_small_caps(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_synthesis_small_caps_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_synthesis_weight(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_synthesis_weight_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_overflow_x(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn overflow_x_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_overflow_y(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn overflow_y_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_overscroll_behavior_x(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn overscroll_behavior_x_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_overscroll_behavior_y(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn overscroll_behavior_y_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_bottom_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_bottom_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_left_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_left_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_right_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_right_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_top_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_top_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_composition_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_delay_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_direction_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_duration_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_fill_mode_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_iteration_count_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_name_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_play_state_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_range_end_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_range_start_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_timeline_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn animation_timing_function_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_aspect_ratio(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn aspect_ratio_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_backdrop_filter(&self) -> &[T] ⓘ

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn backdrop_filter_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn background_attachment_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn background_blend_mode_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn background_clip_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn background_image_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn background_origin_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn background_position_x_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn background_position_y_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn background_repeat_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn background_size_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_baseline_shift(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn baseline_shift_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_image_outset(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_image_outset_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_image_slice(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_image_slice_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_image_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_image_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_spacing(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_spacing_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_box_shadow(&self) -> &[T] ⓘ

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn box_shadow_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_caret_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn caret_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_clip(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_clip(&self) -> T

Clones the computed value of a given property. Prefer get_clip where a reference is enough.

Source

pub fn clip_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_clip_path(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn clip_path_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_color(&self) -> T

Clones the computed value of a given property. Prefer get_color where a reference is enough.

Source

pub fn color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_color_scheme(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn color_scheme_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_column_count(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn column_count_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_column_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn column_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_container_name(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn container_name_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_content(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_content(&self) -> T

Clones the computed value of a given property. Prefer get_content where a reference is enough.

Source

pub fn content_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_counter_increment(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn counter_increment_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_counter_reset(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn counter_reset_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_cursor(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_cursor(&self) -> T

Clones the computed value of a given property. Prefer get_cursor where a reference is enough.

Source

pub fn cursor_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_d(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_d(&self) -> T

Clones the computed value of a given property. Prefer get_d where a reference is enough.

Source

pub fn d_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_filter(&self) -> &[T] ⓘ

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_filter(&self) -> T

Clones the computed value of a given property. Prefer get_filter where a reference is enough.

Source

pub fn filter_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_flex_basis(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn flex_basis_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_family(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_family_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_feature_settings(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_feature_settings_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn font_size_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_size_adjust(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_size_adjust_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_variant_alternates(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_variant_alternates_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_variation_settings(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_variation_settings_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_weight(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_weight_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_font_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn font_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_template_areas(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_template_areas_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_hyphenate_character(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn hyphenate_character_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_initial_letter(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn initial_letter_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_letter_spacing(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn letter_spacing_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_line_clamp(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn line_clamp_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_line_height(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn line_height_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_list_style_type(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn list_style_type_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn mask_clip_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn mask_composite_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn mask_image_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn mask_mode_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn mask_origin_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn mask_position_x_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn mask_position_y_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn mask_repeat_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn mask_size_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_math_depth(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn math_depth_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get__moz_min_font_size_ratio(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn _moz_min_font_size_ratio_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_offset_path(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn offset_path_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_opacity(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_opacity(&self) -> T

Clones the computed value of a given property. Prefer get_opacity where a reference is enough.

Source

pub fn opacity_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_outline_offset(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn outline_offset_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_overflow_clip_margin(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn overflow_clip_margin_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_perspective(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_perspective(&self) -> T

Clones the computed value of a given property. Prefer get_perspective where a reference is enough.

Source

pub fn perspective_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_position_try_fallbacks(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn position_try_fallbacks_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_quotes(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_quotes(&self) -> T

Clones the computed value of a given property. Prefer get_quotes where a reference is enough.

Source

pub fn quotes_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_rotate(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_rotate(&self) -> T

Clones the computed value of a given property. Prefer get_rotate where a reference is enough.

Source

pub fn rotate_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_scale(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_scale(&self) -> T

Clones the computed value of a given property. Prefer get_scale where a reference is enough.

Source

pub fn scale_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_scrollbar_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn scrollbar_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_stroke_dasharray(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn stroke_dasharray_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_stroke_dashoffset(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn stroke_dashoffset_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_stroke_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn stroke_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_tab_size(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn tab_size_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_decoration_inset(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_decoration_inset_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_decoration_thickness(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_decoration_thickness_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_emphasis_style(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_emphasis_style_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_indent(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_indent_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_overflow(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_overflow_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_shadow(&self) -> &[T] ⓘ

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_shadow_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_underline_offset(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_underline_offset_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_transform(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_transform(&self) -> T

Clones the computed value of a given property. Prefer get_transform where a reference is enough.

Source

pub fn transform_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_transform_origin(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn transform_origin_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn transition_behavior_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn transition_delay_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn transition_duration_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn transition_property_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

pub fn transition_timing_function_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_translate(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_translate(&self) -> T

Clones the computed value of a given property. Prefer get_translate where a reference is enough.

Source

pub fn translate_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_view_transition_class(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn view_transition_class_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_view_transition_name(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn view_transition_name_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_will_change(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn will_change_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_word_spacing(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn word_spacing_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get__x_lang(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn _x_lang_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_z_index(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn z_index_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_zoom(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_zoom(&self) -> T

Clones the computed value of a given property. Prefer get_zoom where a reference is enough.

Source

pub fn zoom_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_object_position(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn object_position_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_perspective_origin(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn perspective_origin_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_fill(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_fill(&self) -> T

Clones the computed value of a given property. Prefer get_fill where a reference is enough.

Source

pub fn fill_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_stroke(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_stroke(&self) -> T

Clones the computed value of a given property. Prefer get_stroke where a reference is enough.

Source

pub fn stroke_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_template_columns(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_template_columns_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_template_rows(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_template_rows_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_image_source(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_image_source_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_list_style_image(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn list_style_image_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_auto_columns(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_auto_columns_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_auto_rows(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_auto_rows_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_flex_line_count(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn flex_line_count_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_order(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_order(&self) -> T

Clones the computed value of a given property. Prefer get_order where a reference is enough.

Source

pub fn order_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_rx(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_rx(&self) -> T

Clones the computed value of a given property. Prefer get_rx where a reference is enough.

Source

pub fn rx_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_ry(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_ry(&self) -> T

Clones the computed value of a given property. Prefer get_ry where a reference is enough.

Source

pub fn ry_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_fill_opacity(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn fill_opacity_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_stroke_opacity(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn stroke_opacity_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_column_gap(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn column_gap_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_row_gap(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn row_gap_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_flex_grow(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn flex_grow_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_flex_shrink(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn flex_shrink_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_stroke_miterlimit(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn stroke_miterlimit_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_column_end(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_column_end_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_column_start(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_column_start_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_row_end(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_row_end_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_grid_row_start(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn grid_row_start_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_cx(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_cx(&self) -> T

Clones the computed value of a given property. Prefer get_cx where a reference is enough.

Source

pub fn cx_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_cy(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_cy(&self) -> T

Clones the computed value of a given property. Prefer get_cy where a reference is enough.

Source

pub fn cy_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_x(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_x(&self) -> T

Clones the computed value of a given property. Prefer get_x where a reference is enough.

Source

pub fn x_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_y(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_y(&self) -> T

Clones the computed value of a given property. Prefer get_y where a reference is enough.

Source

pub fn y_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_max_height(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn max_height_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_max_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn max_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_bottom_left_radius(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_bottom_left_radius_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_bottom_right_radius(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_bottom_right_radius_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_top_left_radius(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_top_left_radius_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_top_right_radius(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_top_right_radius_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_corner_bottom_left_shape(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn corner_bottom_left_shape_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_corner_bottom_right_shape(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn corner_bottom_right_shape_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_corner_top_left_shape(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn corner_top_left_shape_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_corner_top_right_shape(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn corner_top_right_shape_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_bottom(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_bottom(&self) -> T

Clones the computed value of a given property. Prefer get_bottom where a reference is enough.

Source

pub fn bottom_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_left(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_left(&self) -> T

Clones the computed value of a given property. Prefer get_left where a reference is enough.

Source

pub fn left_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_right(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_right(&self) -> T

Clones the computed value of a given property. Prefer get_right where a reference is enough.

Source

pub fn right_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_top(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_top(&self) -> T

Clones the computed value of a given property. Prefer get_top where a reference is enough.

Source

pub fn top_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_margin_bottom(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn margin_bottom_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_margin_left(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn margin_left_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_margin_right(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn margin_right_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_margin_top(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn margin_top_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_height(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_height(&self) -> T

Clones the computed value of a given property. Prefer get_height where a reference is enough.

Source

pub fn height_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_min_height(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn min_height_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_min_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn min_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_width(&self) -> T

Clones the computed value of a given property. Prefer get_width where a reference is enough.

Source

pub fn width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_bottom_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_bottom_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_left_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_left_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_right_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_right_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_top_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_top_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_outline_width(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn outline_width_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_padding_bottom(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn padding_bottom_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_padding_left(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn padding_left_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_padding_right(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn padding_right_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_padding_top(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn padding_top_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_r(&self) -> &T

Gets a reference to the computed value of a given property.

Source

pub fn slow_clone_r(&self) -> T

Clones the computed value of a given property. Prefer get_r where a reference is enough.

Source

pub fn r_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_background_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn background_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_bottom_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_bottom_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_left_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_left_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_right_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_right_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_border_top_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn border_top_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_outline_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn outline_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_decoration_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_decoration_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

pub fn get_text_emphasis_color(&self) -> &T

Gets a reference to the computed value of a given property.

Source

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.

Source

pub fn text_emphasis_color_equals(&self, other: &Self) -> bool

Gets the computed value of a given property.

Source

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.

Source

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.

Source

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.

Source

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());

Source

pub fn transition_properties<'a>(&'a self) -> TransitionPropertyIterator<'a> ⓘ

Create a TransitionPropertyIterator for this styles transition properties.

Source§

impl ComputedValues

Source

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

Source

pub fn initial_values_with_font_override(default_font: Font) -> Arc<Self>

Get the initial computed values.

Source

pub fn to_arc(&self) -> Arc<Self>

Converts the computed values to an Arc<> from a reference.

Source

pub fn computed_value_to_string( &self, property: PropertyDeclarationId<'_>, ) -> String

Serializes the computed value of this property as a string.

Source

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

Source

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>§

Source

pub fn clone_with_flags( &self, flags: ComputedValueFlags, pseudo: Option<&PseudoElement>, ) -> Arc<ComputedValues>

Share ComputedValues but with different flags.

Source

pub fn visited_style(&self) -> Option<&ComputedValues>

Returns the visited style, if any.

Source

pub fn clone_background(&self) -> Arc<Background>

Clone the Background struct.

Source

pub fn get_background(&self) -> &Background

Get a immutable reference to the Background struct.

Source

pub fn mutate_background(&mut self) -> &mut Background

Get a mutable reference to the Background struct.

Source

pub fn clone_border(&self) -> Arc<Border>

Clone the Border struct.

Source

pub fn get_border(&self) -> &Border

Get a immutable reference to the Border struct.

Source

pub fn mutate_border(&mut self) -> &mut Border

Get a mutable reference to the Border struct.

Source

pub fn clone_box(&self) -> Arc<Box>

Clone the Box struct.

Source

pub fn get_box(&self) -> &Box

Get a immutable reference to the Box struct.

Source

pub fn mutate_box(&mut self) -> &mut Box

Get a mutable reference to the Box struct.

Source

pub fn clone_column(&self) -> Arc<Column>

Clone the Column struct.

Source

pub fn get_column(&self) -> &Column

Get a immutable reference to the Column struct.

Source

pub fn mutate_column(&mut self) -> &mut Column

Get a mutable reference to the Column struct.

Source

pub fn clone_counters(&self) -> Arc<Counters>

Clone the Counters struct.

Source

pub fn get_counters(&self) -> &Counters

Get a immutable reference to the Counters struct.

Source

pub fn mutate_counters(&mut self) -> &mut Counters

Get a mutable reference to the Counters struct.

Source

pub fn clone_effects(&self) -> Arc<Effects>

Clone the Effects struct.

Source

pub fn get_effects(&self) -> &Effects

Get a immutable reference to the Effects struct.

Source

pub fn mutate_effects(&mut self) -> &mut Effects

Get a mutable reference to the Effects struct.

Source

pub fn clone_font(&self) -> Arc<Font>

Clone the Font struct.

Source

pub fn get_font(&self) -> &Font

Get a immutable reference to the Font struct.

Source

pub fn mutate_font(&mut self) -> &mut Font

Get a mutable reference to the Font struct.

Source

pub fn clone_inherited_box(&self) -> Arc<InheritedBox>

Clone the InheritedBox struct.

Source

pub fn get_inherited_box(&self) -> &InheritedBox

Get a immutable reference to the InheritedBox struct.

Source

pub fn mutate_inherited_box(&mut self) -> &mut InheritedBox

Get a mutable reference to the InheritedBox struct.

Source

pub fn clone_inherited_svg(&self) -> Arc<InheritedSVG>

Clone the InheritedSVG struct.

Source

pub fn get_inherited_svg(&self) -> &InheritedSVG

Get a immutable reference to the InheritedSVG struct.

Source

pub fn mutate_inherited_svg(&mut self) -> &mut InheritedSVG

Get a mutable reference to the InheritedSVG struct.

Source

pub fn clone_inherited_table(&self) -> Arc<InheritedTable>

Clone the InheritedTable struct.

Source

pub fn get_inherited_table(&self) -> &InheritedTable

Get a immutable reference to the InheritedTable struct.

Source

pub fn mutate_inherited_table(&mut self) -> &mut InheritedTable

Get a mutable reference to the InheritedTable struct.

Source

pub fn clone_inherited_text(&self) -> Arc<InheritedText>

Clone the InheritedText struct.

Source

pub fn get_inherited_text(&self) -> &InheritedText

Get a immutable reference to the InheritedText struct.

Source

pub fn mutate_inherited_text(&mut self) -> &mut InheritedText

Get a mutable reference to the InheritedText struct.

Source

pub fn clone_inherited_ui(&self) -> Arc<InheritedUI>

Clone the InheritedUI struct.

Source

pub fn get_inherited_ui(&self) -> &InheritedUI

Get a immutable reference to the InheritedUI struct.

Source

pub fn mutate_inherited_ui(&mut self) -> &mut InheritedUI

Get a mutable reference to the InheritedUI struct.

Source

pub fn clone_list(&self) -> Arc<List>

Clone the List struct.

Source

pub fn get_list(&self) -> &List

Get a immutable reference to the List struct.

Source

pub fn mutate_list(&mut self) -> &mut List

Get a mutable reference to the List struct.

Source

pub fn clone_margin(&self) -> Arc<Margin>

Clone the Margin struct.

Source

pub fn get_margin(&self) -> &Margin

Get a immutable reference to the Margin struct.

Source

pub fn mutate_margin(&mut self) -> &mut Margin

Get a mutable reference to the Margin struct.

Source

pub fn clone_outline(&self) -> Arc<Outline>

Clone the Outline struct.

Source

pub fn get_outline(&self) -> &Outline

Get a immutable reference to the Outline struct.

Source

pub fn mutate_outline(&mut self) -> &mut Outline

Get a mutable reference to the Outline struct.

Source

pub fn clone_padding(&self) -> Arc<Padding>

Clone the Padding struct.

Source

pub fn get_padding(&self) -> &Padding

Get a immutable reference to the Padding struct.

Source

pub fn mutate_padding(&mut self) -> &mut Padding

Get a mutable reference to the Padding struct.

Source

pub fn clone_position(&self) -> Arc<Position>

Clone the Position struct.

Source

pub fn get_position(&self) -> &Position

Get a immutable reference to the Position struct.

Source

pub fn mutate_position(&mut self) -> &mut Position

Get a mutable reference to the Position struct.

Source

pub fn clone_svg(&self) -> Arc<SVG>

Clone the SVG struct.

Source

pub fn get_svg(&self) -> &SVG

Get a immutable reference to the SVG struct.

Source

pub fn mutate_svg(&mut self) -> &mut SVG

Get a mutable reference to the SVG struct.

Source

pub fn clone_table(&self) -> Arc<Table>

Clone the Table struct.

Source

pub fn get_table(&self) -> &Table

Get a immutable reference to the Table struct.

Source

pub fn mutate_table(&mut self) -> &mut Table

Get a mutable reference to the Table struct.

Source

pub fn clone_text(&self) -> Arc<Text>

Clone the Text struct.

Source

pub fn get_text(&self) -> &Text

Get a immutable reference to the Text struct.

Source

pub fn mutate_text(&mut self) -> &mut Text

Get a mutable reference to the Text struct.

Source

pub fn clone_ui(&self) -> Arc<UI>

Clone the UI struct.

Source

pub fn get_ui(&self) -> &UI

Get a immutable reference to the UI struct.

Source

pub fn mutate_ui(&mut self) -> &mut UI

Get a mutable reference to the UI struct.

Source

pub fn rules(&self) -> &StrongRuleNode

Gets a reference to the rule node. Panic if no rule node exists.

Source

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.

Source

pub fn is_multicol(&self) -> bool

Whether the current style is multicolumn.

Source

pub fn content_inline_size(&self) -> &Size

Get the logical computed inline size.

Source

pub fn content_block_size(&self) -> &Size

Get the logical computed block size.

Source

pub fn min_inline_size(&self) -> &Size

Get the logical computed min inline size.

Source

pub fn min_block_size(&self) -> &Size

Get the logical computed min block size.

Source

pub fn max_inline_size(&self) -> &MaxSize

Get the logical computed max inline size.

Source

pub fn max_block_size(&self) -> &MaxSize

Get the logical computed max block size.

Source

pub fn logical_padding(&self) -> LogicalMargin<&LengthPercentage>

Get the logical computed padding for this writing mode.

Source

pub fn logical_margin(&self) -> LogicalMargin<&Margin>

Gets the logical computed margin from this style.

Source

pub fn logical_position(&self) -> LogicalMargin<&Inset>

Gets the logical position from this style.

Trait Implementations§

Source§

impl Clone for ComputedValues

Source§

fn clone(&self) -> ComputedValues

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ComputedValues

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for ComputedValues

Available on crate feature servo only.
Source§

type Target = ComputedValuesInner

The resulting type after dereferencing.
Source§

fn deref(&self) -> &ComputedValuesInner

Dereferences the value.
Source§

impl DerefMut for ComputedValues

Available on crate feature servo only.
Source§

fn deref_mut(&mut self) -> &mut ComputedValuesInner

Mutably dereferences the value.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> MaybeBoxed<Box<T>> for T

Source§

fn maybe_boxed(self) -> Box<T>

Convert
Source§

impl<T> MaybeBoxed<T> for T

Source§

fn maybe_boxed(self) -> T

Convert
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,