Skip to main content

ComputedStyleRef

Struct ComputedStyleRef 

Source
pub struct ComputedStyleRef<'a>(/* private fields */);
Expand description

Borrow of a node’s stylo element data that Derefs directly to the primary ComputedValues, suitable for wrapping in stylo_takia::TakiaStyloStyle.

Methods from Deref<Target = 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) -> &ItemPlacement

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

Source

pub fn slow_clone_align_items(&self) -> ItemPlacement

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_alignment_baseline(&self) -> &AlignmentBaseline

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

Source

pub fn slow_clone_alignment_baseline(&self) -> AlignmentBaseline

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_backface_visibility(&self) -> &BackfaceVisibility

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

Source

pub fn slow_clone_backface_visibility(&self) -> BackfaceVisibility

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_baseline_source(&self) -> &BaselineSource

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

Source

pub fn slow_clone_baseline_source(&self) -> BaselineSource

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_collapse(&self) -> &BorderCollapse

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

Source

pub fn slow_clone_border_collapse(&self) -> BorderCollapse

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_image_repeat(&self) -> &BorderImageRepeat

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

Source

pub fn slow_clone_border_image_repeat(&self) -> BorderImageRepeat

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_box_decoration_break(&self) -> &BoxDecorationBreak

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

Source

pub fn slow_clone_box_decoration_break(&self) -> BoxDecorationBreak

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_box_sizing(&self) -> &BoxSizing

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

Source

pub fn slow_clone_box_sizing(&self) -> BoxSizing

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_caption_side(&self) -> &CaptionSide

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

Source

pub fn slow_clone_caption_side(&self) -> CaptionSide

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_clear(&self) -> &Clear

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

Source

pub fn slow_clone_clear(&self) -> Clear

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_column_span(&self) -> &ColumnSpan

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

Source

pub fn slow_clone_column_span(&self) -> ColumnSpan

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_contain(&self) -> &Contain

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

Source

pub fn slow_clone_contain(&self) -> Contain

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_container_type(&self) -> &ContainerType

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

Source

pub fn slow_clone_container_type(&self) -> ContainerType

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_direction(&self) -> &DirectionProperty

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

Source

pub fn slow_clone_direction(&self) -> DirectionProperty

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_display(&self) -> &Display

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

Source

pub fn slow_clone_display(&self) -> Display

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_dominant_baseline(&self) -> &DominantBaseline

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

Source

pub fn slow_clone_dominant_baseline(&self) -> DominantBaseline

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_empty_cells(&self) -> &EmptyCells

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

Source

pub fn slow_clone_empty_cells(&self) -> EmptyCells

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_fill_rule(&self) -> &FillRule

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

Source

pub fn slow_clone_fill_rule(&self) -> FillRule

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_flex_direction(&self) -> &FlexDirection

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

Source

pub fn slow_clone_flex_direction(&self) -> FlexDirection

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_flex_wrap(&self) -> &FlexWrap

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

Source

pub fn slow_clone_flex_wrap(&self) -> FlexWrap

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_float(&self) -> &Float

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

Source

pub fn slow_clone_float(&self) -> Float

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_kerning(&self) -> &FontKerning

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

Source

pub fn slow_clone_font_kerning(&self) -> FontKerning

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_language_override(&self) -> &FontLanguageOverride

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

Source

pub fn slow_clone_font_language_override(&self) -> FontLanguageOverride

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_optical_sizing(&self) -> &FontOpticalSizing

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

Source

pub fn slow_clone_font_optical_sizing(&self) -> FontOpticalSizing

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_synthesis_style(&self) -> &FontSynthesisStyle

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

Source

pub fn slow_clone_font_synthesis_style(&self) -> FontSynthesisStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_variant_caps(&self) -> &FontVariantCaps

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

Source

pub fn slow_clone_font_variant_caps(&self) -> FontVariantCaps

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_variant_east_asian(&self) -> &FontVariantEastAsian

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

Source

pub fn slow_clone_font_variant_east_asian(&self) -> FontVariantEastAsian

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_variant_emoji(&self) -> &FontVariantEmoji

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

Source

pub fn slow_clone_font_variant_emoji(&self) -> FontVariantEmoji

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_variant_ligatures(&self) -> &FontVariantLigatures

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

Source

pub fn slow_clone_font_variant_ligatures(&self) -> FontVariantLigatures

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_variant_numeric(&self) -> &FontVariantNumeric

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

Source

pub fn slow_clone_font_variant_numeric(&self) -> FontVariantNumeric

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_variant_position(&self) -> &FontVariantPosition

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

Source

pub fn slow_clone_font_variant_position(&self) -> FontVariantPosition

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_forced_color_adjust(&self) -> &ForcedColorAdjust

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

Source

pub fn slow_clone_forced_color_adjust(&self) -> ForcedColorAdjust

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_auto_flow(&self) -> &GridAutoFlow

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

Source

pub fn slow_clone_grid_auto_flow(&self) -> GridAutoFlow

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_hyphens(&self) -> &Hyphens

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

Source

pub fn slow_clone_hyphens(&self) -> Hyphens

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_image_rendering(&self) -> &ImageRendering

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

Source

pub fn slow_clone_image_rendering(&self) -> ImageRendering

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_interactivity(&self) -> &Interactivity

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

Source

pub fn slow_clone_interactivity(&self) -> Interactivity

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

Source

pub fn interactivity_equals(&self, other: &ComputedValues) -> bool

Gets the computed value of a given property.

Source

pub fn get_isolation(&self) -> &Isolation

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

Source

pub fn slow_clone_isolation(&self) -> Isolation

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_justify_items(&self) -> &ComputedJustifyItems

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

Source

pub fn slow_clone_justify_items(&self) -> ComputedJustifyItems

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_line_break(&self) -> &LineBreak

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

Source

pub fn slow_clone_line_break(&self) -> LineBreak

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_list_style_position(&self) -> &ListStylePosition

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

Source

pub fn slow_clone_list_style_position(&self) -> ListStylePosition

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_mask_type(&self) -> &MaskType

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

Source

pub fn slow_clone_mask_type(&self) -> MaskType

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_math_style(&self) -> &MathStyle

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

Source

pub fn slow_clone_math_style(&self) -> MathStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_mix_blend_mode(&self) -> &Blend

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

Source

pub fn slow_clone_mix_blend_mode(&self) -> Blend

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

Source

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

Gets the computed value of a given property.

Source

pub fn get__moz_inert(&self) -> &Inert

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

Source

pub fn slow_clone__moz_inert(&self) -> Inert

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

Source

pub fn _moz_inert_equals(&self, other: &ComputedValues) -> bool

Gets the computed value of a given property.

Source

pub fn get_object_fit(&self) -> &ObjectFit

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

Source

pub fn slow_clone_object_fit(&self) -> ObjectFit

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_outline_style(&self) -> &OutlineStyle

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

Source

pub fn slow_clone_outline_style(&self) -> OutlineStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_overflow_wrap(&self) -> &OverflowWrap

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

Source

pub fn slow_clone_overflow_wrap(&self) -> OverflowWrap

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_pointer_events(&self) -> &PointerEvents

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

Source

pub fn slow_clone_pointer_events(&self) -> PointerEvents

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_position(&self) -> PositionProperty

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_position_area(&self) -> &PositionArea

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

Source

pub fn slow_clone_position_area(&self) -> PositionArea

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_ruby_align(&self) -> &RubyAlign

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

Source

pub fn slow_clone_ruby_align(&self) -> RubyAlign

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_ruby_position(&self) -> &RubyPosition

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

Source

pub fn slow_clone_ruby_position(&self) -> RubyPosition

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_scroll_behavior(&self) -> &ScrollBehavior

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

Source

pub fn slow_clone_scroll_behavior(&self) -> ScrollBehavior

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_scrollbar_width(&self) -> &ScrollbarWidth

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

Source

pub fn slow_clone_scrollbar_width(&self) -> ScrollbarWidth

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

Source

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

Gets the computed value of a given property.

Source

pub fn get__servo_top_layer(&self) -> &TopLayer

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

Source

pub fn slow_clone__servo_top_layer(&self) -> TopLayer

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_stroke_linecap(&self) -> &StrokeLinecap

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

Source

pub fn slow_clone_stroke_linecap(&self) -> StrokeLinecap

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_stroke_linejoin(&self) -> &StrokeLinejoin

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

Source

pub fn slow_clone_stroke_linejoin(&self) -> StrokeLinejoin

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_table_layout(&self) -> &TableLayout

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

Source

pub fn slow_clone_table_layout(&self) -> TableLayout

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_align(&self) -> &TextAlignKeyword

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

Source

pub fn slow_clone_text_align(&self) -> TextAlignKeyword

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_align_last(&self) -> &TextAlignLast

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

Source

pub fn slow_clone_text_align_last(&self) -> TextAlignLast

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_autospace(&self) -> &TextAutospace

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

Source

pub fn slow_clone_text_autospace(&self) -> TextAutospace

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_box_edge(&self) -> &TextBoxEdge

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

Source

pub fn slow_clone_text_box_edge(&self) -> TextBoxEdge

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_box_trim(&self) -> &TextBoxTrim

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

Source

pub fn slow_clone_text_box_trim(&self) -> TextBoxTrim

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_combine_upright(&self) -> &TextCombineUpright

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

Source

pub fn slow_clone_text_combine_upright(&self) -> TextCombineUpright

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_decoration_line(&self) -> &TextDecorationLine

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

Source

pub fn slow_clone_text_decoration_line(&self) -> TextDecorationLine

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_decoration_style(&self) -> &TextDecorationStyle

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

Source

pub fn slow_clone_text_decoration_style(&self) -> TextDecorationStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_emphasis_position(&self) -> &TextEmphasisPosition

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

Source

pub fn slow_clone_text_emphasis_position(&self) -> TextEmphasisPosition

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_justify(&self) -> &TextJustify

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

Source

pub fn slow_clone_text_justify(&self) -> TextJustify

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_orientation(&self) -> &TextOrientation

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

Source

pub fn slow_clone_text_orientation(&self) -> TextOrientation

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_rendering(&self) -> &TextRendering

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

Source

pub fn slow_clone_text_rendering(&self) -> TextRendering

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_transform(&self) -> &TextTransform

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

Source

pub fn slow_clone_text_transform(&self) -> TextTransform

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_underline_position(&self) -> &TextUnderlinePosition

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

Source

pub fn slow_clone_text_underline_position(&self) -> TextUnderlinePosition

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_wrap_mode(&self) -> &TextWrapMode

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

Source

pub fn slow_clone_text_wrap_mode(&self) -> TextWrapMode

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_wrap_style(&self) -> &TextWrapStyle

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

Source

pub fn slow_clone_text_wrap_style(&self) -> TextWrapStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_touch_action(&self) -> &TouchAction

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

Source

pub fn slow_clone_touch_action(&self) -> TouchAction

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_transform_style(&self) -> &TransformStyle

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

Source

pub fn slow_clone_transform_style(&self) -> TransformStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_unicode_bidi(&self) -> &UnicodeBidi

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

Source

pub fn slow_clone_unicode_bidi(&self) -> UnicodeBidi

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_user_select(&self) -> &UserSelect

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

Source

pub fn slow_clone_user_select(&self) -> UserSelect

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_visibility(&self) -> &Visibility

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

Source

pub fn slow_clone_visibility(&self) -> Visibility

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

Source

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

Gets the computed value of a given property.

Source

pub fn get__webkit_text_security(&self) -> &TextSecurity

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

Source

pub fn slow_clone__webkit_text_security(&self) -> TextSecurity

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_white_space_collapse(&self) -> &WhiteSpaceCollapse

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

Source

pub fn slow_clone_white_space_collapse(&self) -> WhiteSpaceCollapse

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_word_break(&self) -> &WordBreak

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

Source

pub fn slow_clone_word_break(&self) -> WordBreak

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_writing_mode(&self) -> &WritingModeProperty

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

Source

pub fn slow_clone_writing_mode(&self) -> WritingModeProperty

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

Source

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

Gets the computed value of a given property.

Source

pub fn get__x_text_scale(&self) -> &XTextScale

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

Source

pub fn slow_clone__x_text_scale(&self) -> XTextScale

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_appearance(&self) -> &Appearance

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

Source

pub fn slow_clone_appearance(&self) -> Appearance

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

Source

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

Gets the computed value of a given property.

Source

pub fn get__moz_default_appearance(&self) -> &Appearance

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

Source

pub fn slow_clone__moz_default_appearance(&self) -> Appearance

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_align_content(&self) -> &ContentDistribution

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

Source

pub fn slow_clone_align_content(&self) -> ContentDistribution

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_justify_content(&self) -> &ContentDistribution

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

Source

pub fn slow_clone_justify_content(&self) -> ContentDistribution

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_align_self(&self) -> &SelfAlignment

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

Source

pub fn slow_clone_align_self(&self) -> SelfAlignment

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_justify_self(&self) -> &SelfAlignment

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

Source

pub fn slow_clone_justify_self(&self) -> SelfAlignment

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_synthesis_position(&self) -> &FontSynthesis

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

Source

pub fn slow_clone_font_synthesis_position(&self) -> FontSynthesis

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_synthesis_small_caps(&self) -> &FontSynthesis

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

Source

pub fn slow_clone_font_synthesis_small_caps(&self) -> FontSynthesis

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_synthesis_weight(&self) -> &FontSynthesis

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

Source

pub fn slow_clone_font_synthesis_weight(&self) -> FontSynthesis

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_overflow_x(&self) -> &Overflow

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

Source

pub fn slow_clone_overflow_x(&self) -> Overflow

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_overflow_y(&self) -> &Overflow

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

Source

pub fn slow_clone_overflow_y(&self) -> Overflow

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_overscroll_behavior_x(&self) -> &OverscrollBehavior

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

Source

pub fn slow_clone_overscroll_behavior_x(&self) -> OverscrollBehavior

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_overscroll_behavior_y(&self) -> &OverscrollBehavior

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

Source

pub fn slow_clone_overscroll_behavior_y(&self) -> OverscrollBehavior

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_bottom_style(&self) -> &BorderStyle

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

Source

pub fn slow_clone_border_bottom_style(&self) -> BorderStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_left_style(&self) -> &BorderStyle

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

Source

pub fn slow_clone_border_left_style(&self) -> BorderStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_right_style(&self) -> &BorderStyle

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

Source

pub fn slow_clone_border_right_style(&self) -> BorderStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_top_style(&self) -> &BorderStyle

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

Source

pub fn slow_clone_border_top_style(&self) -> BorderStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_composition( &self, ) -> OwnedList<AnimationComposition>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_delay(&self) -> OwnedList<Time>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_direction(&self) -> OwnedList<AnimationDirection>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_duration( &self, ) -> OwnedList<GenericAnimationDuration<Time>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_fill_mode(&self) -> OwnedList<AnimationFillMode>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_iteration_count( &self, ) -> OwnedList<AnimationIterationCount>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_name(&self) -> OwnedList<AnimationName>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_play_state(&self) -> OwnedList<AnimationPlayState>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_range_end( &self, ) -> OwnedList<GenericAnimationRangeEnd<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_range_start( &self, ) -> OwnedList<GenericAnimationRangeStart<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_timeline( &self, ) -> OwnedList<GenericAnimationTimeline<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_animation_timing_function( &self, ) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_aspect_ratio(&self) -> &GenericAspectRatio<NonNegative<f32>>

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

Source

pub fn slow_clone_aspect_ratio(&self) -> GenericAspectRatio<NonNegative<f32>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_backdrop_filter( &self, ) -> &[GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>]

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

Source

pub fn slow_clone_backdrop_filter( &self, ) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_background_attachment( &self, ) -> OwnedList<ImageLayerAttachment>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_background_blend_mode(&self) -> OwnedList<Blend>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_background_clip(&self) -> OwnedList<BackgroundClip>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_background_image( &self, ) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_background_origin(&self) -> OwnedList<BackgroundOrigin>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_background_position_x(&self) -> OwnedList<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_background_position_y(&self) -> OwnedList<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_background_repeat(&self) -> OwnedList<BackgroundRepeat>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_background_size( &self, ) -> OwnedList<GenericBackgroundSize<NonNegative<LengthPercentage>>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_baseline_shift(&self) -> &GenericBaselineShift<LengthPercentage>

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

Source

pub fn slow_clone_baseline_shift( &self, ) -> GenericBaselineShift<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_image_outset( &self, ) -> &Rect<GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>>

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

Source

pub fn slow_clone_border_image_outset( &self, ) -> Rect<GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_image_slice( &self, ) -> &GenericBorderImageSlice<NonNegative<NumberOrPercentage>>

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

Source

pub fn slow_clone_border_image_slice( &self, ) -> GenericBorderImageSlice<NonNegative<NumberOrPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_image_width( &self, ) -> &Rect<GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<f32>>>

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

Source

pub fn slow_clone_border_image_width( &self, ) -> Rect<GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<f32>>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_spacing( &self, ) -> &GenericBorderSpacing<NonNegative<CSSPixelLength>>

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

Source

pub fn slow_clone_border_spacing( &self, ) -> GenericBorderSpacing<NonNegative<CSSPixelLength>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_box_shadow( &self, ) -> &[GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>, CSSPixelLength>]

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

Source

pub fn slow_clone_box_shadow( &self, ) -> OwnedList<GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>, CSSPixelLength>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_caret_color(&self) -> &GenericCaretColor<GenericColor<Percentage>>

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

Source

pub fn slow_clone_caret_color( &self, ) -> GenericCaretColor<GenericColor<Percentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_clip( &self, ) -> &GenericClipRectOrAuto<GenericClipRect<GenericLengthPercentageOrAuto<CSSPixelLength>>>

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

Source

pub fn slow_clone_clip( &self, ) -> GenericClipRectOrAuto<GenericClipRect<GenericLengthPercentageOrAuto<CSSPixelLength>>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_clip_path( &self, ) -> &GenericClipPath<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, ComputedUrl>

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

Source

pub fn slow_clone_clip_path( &self, ) -> GenericClipPath<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, ComputedUrl>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_color(&self) -> &AbsoluteColor

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

Source

pub fn slow_clone_color(&self) -> AbsoluteColor

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_color_scheme(&self) -> &ColorScheme

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

Source

pub fn slow_clone_color_scheme(&self) -> ColorScheme

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_column_count( &self, ) -> &GenericColumnCount<GreaterThanOrEqualToOne<i32>>

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

Source

pub fn slow_clone_column_count( &self, ) -> GenericColumnCount<GreaterThanOrEqualToOne<i32>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_column_width( &self, ) -> &GenericLengthPercentageOrAuto<NonNegative<CSSPixelLength>>

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

Source

pub fn slow_clone_column_width( &self, ) -> GenericLengthPercentageOrAuto<NonNegative<CSSPixelLength>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_container_name(&self) -> &ContainerName

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

Source

pub fn slow_clone_container_name(&self) -> ContainerName

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_content( &self, ) -> &GenericContent<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>

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

Source

pub fn slow_clone_content( &self, ) -> GenericContent<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_counter_increment(&self) -> &GenericCounterIncrement<i32>

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

Source

pub fn slow_clone_counter_increment(&self) -> GenericCounterIncrement<i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_counter_reset(&self) -> &GenericCounterReset<i32>

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

Source

pub fn slow_clone_counter_reset(&self) -> GenericCounterReset<i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_cursor( &self, ) -> &GenericCursor<GenericCursorImage<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>

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

Source

pub fn slow_clone_cursor( &self, ) -> GenericCursor<GenericCursorImage<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_d(&self) -> &DProperty

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

Source

pub fn slow_clone_d(&self) -> DProperty

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_filter( &self, ) -> &[GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>]

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

Source

pub fn slow_clone_filter( &self, ) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_flex_basis( &self, ) -> &GenericFlexBasis<GenericSize<NonNegative<LengthPercentage>>>

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

Source

pub fn slow_clone_flex_basis( &self, ) -> GenericFlexBasis<GenericSize<NonNegative<LengthPercentage>>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_family(&self) -> &FontFamily

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

Source

pub fn slow_clone_font_family(&self) -> FontFamily

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_feature_settings(&self) -> &FontSettings<FeatureTagValue<i32>>

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

Source

pub fn slow_clone_font_feature_settings( &self, ) -> FontSettings<FeatureTagValue<i32>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_font_size(&self) -> FontSize

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_size_adjust(&self) -> &GenericFontSizeAdjust<NonNegative<f32>>

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

Source

pub fn slow_clone_font_size_adjust( &self, ) -> GenericFontSizeAdjust<NonNegative<f32>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_style(&self) -> &FontStyle

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

Source

pub fn slow_clone_font_style(&self) -> FontStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_variant_alternates(&self) -> &FontVariantAlternates

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

Source

pub fn slow_clone_font_variant_alternates(&self) -> FontVariantAlternates

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_variation_settings(&self) -> &FontSettings<VariationValue<f32>>

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

Source

pub fn slow_clone_font_variation_settings( &self, ) -> FontSettings<VariationValue<f32>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_weight(&self) -> &FontWeight

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

Source

pub fn slow_clone_font_weight(&self) -> FontWeight

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_font_width(&self) -> &FontWidth

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

Source

pub fn slow_clone_font_width(&self) -> FontWidth

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_template_areas(&self) -> &GridTemplateAreas

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

Source

pub fn slow_clone_grid_template_areas(&self) -> GridTemplateAreas

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_hyphenate_character(&self) -> &HyphenateCharacter

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

Source

pub fn slow_clone_hyphenate_character(&self) -> HyphenateCharacter

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_initial_letter(&self) -> &GenericInitialLetter<f32, i32>

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

Source

pub fn slow_clone_initial_letter(&self) -> GenericInitialLetter<f32, i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_letter_spacing(&self) -> &GenericLetterSpacing<LengthPercentage>

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

Source

pub fn slow_clone_letter_spacing( &self, ) -> GenericLetterSpacing<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_line_clamp(&self) -> &GenericLineClamp<GreaterThanOrEqualToOne<i32>>

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

Source

pub fn slow_clone_line_clamp( &self, ) -> GenericLineClamp<GreaterThanOrEqualToOne<i32>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_line_height( &self, ) -> &GenericLineHeight<NonNegative<f32>, NonNegative<CSSPixelLength>>

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

Source

pub fn slow_clone_line_height( &self, ) -> GenericLineHeight<NonNegative<f32>, NonNegative<CSSPixelLength>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_list_style_type(&self) -> &ListStyleType

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

Source

pub fn slow_clone_list_style_type(&self) -> ListStyleType

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_mask_clip(&self) -> OwnedList<BackgroundClip>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_mask_composite(&self) -> OwnedList<MaskComposite>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_mask_image( &self, ) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_mask_mode(&self) -> OwnedList<MaskMode>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_mask_origin(&self) -> OwnedList<BackgroundOrigin>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_mask_position_x(&self) -> OwnedList<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_mask_position_y(&self) -> OwnedList<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_mask_repeat(&self) -> OwnedList<BackgroundRepeat>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_mask_size( &self, ) -> OwnedList<GenericBackgroundSize<NonNegative<LengthPercentage>>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_math_depth(&self) -> &i8

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

Source

pub fn slow_clone_math_depth(&self) -> i8

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

Source

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

Gets the computed value of a given property.

Source

pub fn get__moz_min_font_size_ratio(&self) -> &Percentage

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

Source

pub fn slow_clone__moz_min_font_size_ratio(&self) -> Percentage

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_offset_path( &self, ) -> &GenericOffsetPath<GenericOffsetPathFunction<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, GenericRayFunction<Angle, GenericPosition<LengthPercentage, LengthPercentage>>, ComputedUrl>>

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

Source

pub fn slow_clone_offset_path( &self, ) -> GenericOffsetPath<GenericOffsetPathFunction<GenericBasicShape<Angle, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, GenericRayFunction<Angle, GenericPosition<LengthPercentage, LengthPercentage>>, ComputedUrl>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_opacity(&self) -> &f32

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

Source

pub fn slow_clone_opacity(&self) -> f32

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_outline_offset(&self) -> &Au

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

Source

pub fn slow_clone_outline_offset(&self) -> Au

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_overflow_clip_margin( &self, ) -> &GenericOverflowClipMargin<NonNegative<CSSPixelLength>>

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

Source

pub fn slow_clone_overflow_clip_margin( &self, ) -> GenericOverflowClipMargin<NonNegative<CSSPixelLength>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_perspective( &self, ) -> &GenericPerspective<NonNegative<CSSPixelLength>>

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

Source

pub fn slow_clone_perspective( &self, ) -> GenericPerspective<NonNegative<CSSPixelLength>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_position_try_fallbacks( &self, ) -> &TreeScoped<PositionTryFallbacksList>

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

Source

pub fn slow_clone_position_try_fallbacks( &self, ) -> TreeScoped<PositionTryFallbacksList>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_quotes(&self) -> &Quotes

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

Source

pub fn slow_clone_quotes(&self) -> Quotes

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_rotate(&self) -> &GenericRotate<f32, Angle>

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

Source

pub fn slow_clone_rotate(&self) -> GenericRotate<f32, Angle>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_scale(&self) -> &GenericScale<f32>

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

Source

pub fn slow_clone_scale(&self) -> GenericScale<f32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_scrollbar_color( &self, ) -> &GenericScrollbarColor<GenericColor<Percentage>>

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

Source

pub fn slow_clone_scrollbar_color( &self, ) -> GenericScrollbarColor<GenericColor<Percentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_stroke_dasharray( &self, ) -> &GenericSVGStrokeDashArray<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_stroke_dasharray( &self, ) -> GenericSVGStrokeDashArray<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_stroke_dashoffset(&self) -> &GenericSVGLength<LengthPercentage>

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

Source

pub fn slow_clone_stroke_dashoffset(&self) -> GenericSVGLength<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_stroke_width( &self, ) -> &GenericSVGLength<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_stroke_width( &self, ) -> GenericSVGLength<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_tab_size( &self, ) -> &GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>

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

Source

pub fn slow_clone_tab_size( &self, ) -> GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_decoration_inset( &self, ) -> &GenericTextDecorationInset<LengthPercentage>

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

Source

pub fn slow_clone_text_decoration_inset( &self, ) -> GenericTextDecorationInset<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_decoration_thickness( &self, ) -> &GenericTextDecorationLength<LengthPercentage>

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

Source

pub fn slow_clone_text_decoration_thickness( &self, ) -> GenericTextDecorationLength<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_emphasis_style(&self) -> &TextEmphasisStyle

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

Source

pub fn slow_clone_text_emphasis_style(&self) -> TextEmphasisStyle

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_indent(&self) -> &GenericTextIndent<LengthPercentage>

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

Source

pub fn slow_clone_text_indent(&self) -> GenericTextIndent<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_overflow(&self) -> &TextOverflow

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

Source

pub fn slow_clone_text_overflow(&self) -> TextOverflow

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_shadow( &self, ) -> &[GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>]

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

Source

pub fn slow_clone_text_shadow(&self) -> ComputedList

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_underline_offset( &self, ) -> &GenericLengthPercentageOrAuto<LengthPercentage>

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

Source

pub fn slow_clone_text_underline_offset( &self, ) -> GenericLengthPercentageOrAuto<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_transform( &self, ) -> &GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>

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

Source

pub fn slow_clone_transform( &self, ) -> GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_transform_origin( &self, ) -> &GenericTransformOrigin<LengthPercentage, LengthPercentage, CSSPixelLength>

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

Source

pub fn slow_clone_transform_origin( &self, ) -> GenericTransformOrigin<LengthPercentage, LengthPercentage, CSSPixelLength>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_transition_behavior(&self) -> OwnedList<TransitionBehavior>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_transition_delay(&self) -> OwnedList<Time>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_transition_duration(&self) -> OwnedList<Time>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_transition_property(&self) -> OwnedList<TransitionProperty>

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

Source

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

Gets the computed value of a given property.

Source

pub fn slow_clone_transition_timing_function( &self, ) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_translate( &self, ) -> &GenericTranslate<LengthPercentage, CSSPixelLength>

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

Source

pub fn slow_clone_translate( &self, ) -> GenericTranslate<LengthPercentage, CSSPixelLength>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_view_transition_class(&self) -> &TreeScoped<ViewTransitionClassList>

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

Source

pub fn slow_clone_view_transition_class( &self, ) -> TreeScoped<ViewTransitionClassList>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_view_transition_name(&self) -> &TreeScoped<ViewTransitionNameKeyword>

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

Source

pub fn slow_clone_view_transition_name( &self, ) -> TreeScoped<ViewTransitionNameKeyword>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_will_change(&self) -> &WillChange

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

Source

pub fn slow_clone_will_change(&self) -> WillChange

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_word_spacing(&self) -> &LengthPercentage

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

Source

pub fn slow_clone_word_spacing(&self) -> LengthPercentage

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

Source

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

Gets the computed value of a given property.

Source

pub fn get__x_lang(&self) -> &XLang

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

Source

pub fn slow_clone__x_lang(&self) -> XLang

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_z_index(&self) -> &GenericZIndex<i32>

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

Source

pub fn slow_clone_z_index(&self) -> GenericZIndex<i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_zoom(&self) -> &Zoom

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

Source

pub fn slow_clone_zoom(&self) -> Zoom

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_object_position( &self, ) -> &GenericPosition<LengthPercentage, LengthPercentage>

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

Source

pub fn slow_clone_object_position( &self, ) -> GenericPosition<LengthPercentage, LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_perspective_origin( &self, ) -> &GenericPosition<LengthPercentage, LengthPercentage>

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

Source

pub fn slow_clone_perspective_origin( &self, ) -> GenericPosition<LengthPercentage, LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_fill( &self, ) -> &GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>

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

Source

pub fn slow_clone_fill( &self, ) -> GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_stroke( &self, ) -> &GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>

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

Source

pub fn slow_clone_stroke( &self, ) -> GenericSVGPaint<GenericColor<Percentage>, ComputedUrl>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_template_columns( &self, ) -> &GenericGridTemplateComponent<LengthPercentage, i32>

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

Source

pub fn slow_clone_grid_template_columns( &self, ) -> GenericGridTemplateComponent<LengthPercentage, i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_template_rows( &self, ) -> &GenericGridTemplateComponent<LengthPercentage, i32>

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

Source

pub fn slow_clone_grid_template_rows( &self, ) -> GenericGridTemplateComponent<LengthPercentage, i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_image_source( &self, ) -> &GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>

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

Source

pub fn slow_clone_border_image_source( &self, ) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_list_style_image( &self, ) -> &GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>

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

Source

pub fn slow_clone_list_style_image( &self, ) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_auto_columns( &self, ) -> &GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>

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

Source

pub fn slow_clone_grid_auto_columns( &self, ) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_auto_rows( &self, ) -> &GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>

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

Source

pub fn slow_clone_grid_auto_rows( &self, ) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_flex_line_count(&self) -> &i32

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

Source

pub fn slow_clone_flex_line_count(&self) -> i32

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_order(&self) -> &i32

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

Source

pub fn slow_clone_order(&self) -> i32

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_rx( &self, ) -> &GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_rx( &self, ) -> GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_ry( &self, ) -> &GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_ry( &self, ) -> GenericLengthPercentageOrAuto<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_fill_opacity(&self) -> &GenericSVGOpacity<f32>

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

Source

pub fn slow_clone_fill_opacity(&self) -> GenericSVGOpacity<f32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_stroke_opacity(&self) -> &GenericSVGOpacity<f32>

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

Source

pub fn slow_clone_stroke_opacity(&self) -> GenericSVGOpacity<f32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_column_gap( &self, ) -> &GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_column_gap( &self, ) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_row_gap( &self, ) -> &GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_row_gap( &self, ) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_flex_grow(&self) -> &NonNegative<f32>

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

Source

pub fn slow_clone_flex_grow(&self) -> NonNegative<f32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_flex_shrink(&self) -> &NonNegative<f32>

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

Source

pub fn slow_clone_flex_shrink(&self) -> NonNegative<f32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_stroke_miterlimit(&self) -> &NonNegative<f32>

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

Source

pub fn slow_clone_stroke_miterlimit(&self) -> NonNegative<f32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_column_end(&self) -> &GenericGridLine<i32>

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

Source

pub fn slow_clone_grid_column_end(&self) -> GenericGridLine<i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_column_start(&self) -> &GenericGridLine<i32>

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

Source

pub fn slow_clone_grid_column_start(&self) -> GenericGridLine<i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_row_end(&self) -> &GenericGridLine<i32>

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

Source

pub fn slow_clone_grid_row_end(&self) -> GenericGridLine<i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_grid_row_start(&self) -> &GenericGridLine<i32>

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

Source

pub fn slow_clone_grid_row_start(&self) -> GenericGridLine<i32>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_cx(&self) -> &LengthPercentage

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

Source

pub fn slow_clone_cx(&self) -> LengthPercentage

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_cy(&self) -> &LengthPercentage

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

Source

pub fn slow_clone_cy(&self) -> LengthPercentage

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_x(&self) -> &LengthPercentage

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

Source

pub fn slow_clone_x(&self) -> LengthPercentage

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_y(&self) -> &LengthPercentage

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

Source

pub fn slow_clone_y(&self) -> LengthPercentage

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_max_height(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_max_height( &self, ) -> GenericMaxSize<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_max_width(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_max_width( &self, ) -> GenericMaxSize<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_bottom_left_radius( &self, ) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_border_bottom_left_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_bottom_right_radius( &self, ) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_border_bottom_right_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_top_left_radius( &self, ) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_border_top_left_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_top_right_radius( &self, ) -> &GenericBorderCornerRadius<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_border_top_right_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_corner_bottom_left_shape(&self) -> &CornerShape

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

Source

pub fn slow_clone_corner_bottom_left_shape(&self) -> CornerShape

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_corner_bottom_right_shape(&self) -> &CornerShape

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

Source

pub fn slow_clone_corner_bottom_right_shape(&self) -> CornerShape

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_corner_top_left_shape(&self) -> &CornerShape

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

Source

pub fn slow_clone_corner_top_left_shape(&self) -> CornerShape

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_corner_top_right_shape(&self) -> &CornerShape

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

Source

pub fn slow_clone_corner_top_right_shape(&self) -> CornerShape

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_bottom(&self) -> &GenericInset<Percentage, LengthPercentage>

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

Source

pub fn slow_clone_bottom(&self) -> GenericInset<Percentage, LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_left(&self) -> &GenericInset<Percentage, LengthPercentage>

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

Source

pub fn slow_clone_left(&self) -> GenericInset<Percentage, LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_right(&self) -> &GenericInset<Percentage, LengthPercentage>

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

Source

pub fn slow_clone_right(&self) -> GenericInset<Percentage, LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_top(&self) -> &GenericInset<Percentage, LengthPercentage>

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

Source

pub fn slow_clone_top(&self) -> GenericInset<Percentage, LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_margin_bottom(&self) -> &GenericMargin<LengthPercentage>

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

Source

pub fn slow_clone_margin_bottom(&self) -> GenericMargin<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_margin_left(&self) -> &GenericMargin<LengthPercentage>

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

Source

pub fn slow_clone_margin_left(&self) -> GenericMargin<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_margin_right(&self) -> &GenericMargin<LengthPercentage>

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

Source

pub fn slow_clone_margin_right(&self) -> GenericMargin<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_margin_top(&self) -> &GenericMargin<LengthPercentage>

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

Source

pub fn slow_clone_margin_top(&self) -> GenericMargin<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_height(&self) -> &GenericSize<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_height(&self) -> GenericSize<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_min_height(&self) -> &GenericSize<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_min_height( &self, ) -> GenericSize<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_min_width(&self) -> &GenericSize<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_min_width(&self) -> GenericSize<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_width(&self) -> &GenericSize<NonNegative<LengthPercentage>>

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

Source

pub fn slow_clone_width(&self) -> GenericSize<NonNegative<LengthPercentage>>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_bottom_width(&self) -> &BorderSideWidth

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

Source

pub fn slow_clone_border_bottom_width(&self) -> BorderSideWidth

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_left_width(&self) -> &BorderSideWidth

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

Source

pub fn slow_clone_border_left_width(&self) -> BorderSideWidth

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_right_width(&self) -> &BorderSideWidth

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

Source

pub fn slow_clone_border_right_width(&self) -> BorderSideWidth

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_top_width(&self) -> &BorderSideWidth

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

Source

pub fn slow_clone_border_top_width(&self) -> BorderSideWidth

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_outline_width(&self) -> &BorderSideWidth

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

Source

pub fn slow_clone_outline_width(&self) -> BorderSideWidth

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_padding_bottom(&self) -> &NonNegative<LengthPercentage>

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

Source

pub fn slow_clone_padding_bottom(&self) -> NonNegative<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_padding_left(&self) -> &NonNegative<LengthPercentage>

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

Source

pub fn slow_clone_padding_left(&self) -> NonNegative<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_padding_right(&self) -> &NonNegative<LengthPercentage>

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

Source

pub fn slow_clone_padding_right(&self) -> NonNegative<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_padding_top(&self) -> &NonNegative<LengthPercentage>

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

Source

pub fn slow_clone_padding_top(&self) -> NonNegative<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_r(&self) -> &NonNegative<LengthPercentage>

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

Source

pub fn slow_clone_r(&self) -> NonNegative<LengthPercentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_background_color(&self) -> &GenericColor<Percentage>

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

Source

pub fn slow_clone_background_color(&self) -> GenericColor<Percentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_bottom_color(&self) -> &GenericColor<Percentage>

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

Source

pub fn slow_clone_border_bottom_color(&self) -> GenericColor<Percentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_left_color(&self) -> &GenericColor<Percentage>

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

Source

pub fn slow_clone_border_left_color(&self) -> GenericColor<Percentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_right_color(&self) -> &GenericColor<Percentage>

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

Source

pub fn slow_clone_border_right_color(&self) -> GenericColor<Percentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_border_top_color(&self) -> &GenericColor<Percentage>

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

Source

pub fn slow_clone_border_top_color(&self) -> GenericColor<Percentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_outline_color(&self) -> &GenericColor<Percentage>

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

Source

pub fn slow_clone_outline_color(&self) -> GenericColor<Percentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_decoration_color(&self) -> &GenericColor<Percentage>

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

Source

pub fn slow_clone_text_decoration_color(&self) -> GenericColor<Percentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get_text_emphasis_color(&self) -> &GenericColor<Percentage>

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

Source

pub fn slow_clone_text_emphasis_color(&self) -> GenericColor<Percentage>

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

Source

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

Gets the computed value of a given property.

Source

pub fn get__webkit_text_fill_color(&self) -> &GenericColor<Percentage>

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

Source

pub fn slow_clone__webkit_text_fill_color(&self) -> GenericColor<Percentage>

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

Source

pub fn _webkit_text_fill_color_equals(&self, other: &ComputedValues) -> 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 String, ) -> Result<(), Error>

Writes the (resolved or computed) value of the given longhand as a string in dest.

TODO(emilio): We should move all the special resolution from nsComputedDOMStyle to ToResolvedValue instead.

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: &GenericColor<Percentage>) -> AbsoluteColor

Resolves the currentColor keyword.

Any color value from computed values (except for the ‘color’ property itself) should go through this method.

Usage example: let top_color = style.resolve_color(style.get_border().get_border_top_color());

Source

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

Create a TransitionPropertyIterator for this styles transition properties.

Source

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

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(&ComputedValues),

Calls the given function for each cached lazy pseudo-element style.

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) -> &GenericSize<NonNegative<LengthPercentage>>

Get the logical computed inline size.

Source

pub fn content_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>

Get the logical computed block size.

Source

pub fn min_inline_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>

Get the logical computed min inline size.

Source

pub fn min_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>

Get the logical computed min block size.

Source

pub fn max_inline_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>

Get the logical computed max inline size.

Source

pub fn max_block_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>

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<&GenericMargin<LengthPercentage>>

Gets the logical computed margin from this style.

Source

pub fn logical_position( &self, ) -> LogicalMargin<&GenericInset<Percentage, LengthPercentage>>

Gets the logical position from this style.

Trait Implementations§

Source§

impl Deref for ComputedStyleRef<'_>

Source§

type Target = ComputedValues

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for ComputedStyleRef<'a>

§

impl<'a> !UnwindSafe for ComputedStyleRef<'a>

§

impl<'a> Freeze for ComputedStyleRef<'a>

§

impl<'a> Send for ComputedStyleRef<'a>

§

impl<'a> Sync for ComputedStyleRef<'a>

§

impl<'a> Unpin for ComputedStyleRef<'a>

§

impl<'a> UnsafeUnpin for ComputedStyleRef<'a>

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> ErasedDestructor for T
where T: 'static,

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,