pub struct ComputedValues { /* private fields */ }Expand description
Computed style values for an element. All CSS properties accessible via
property struct getters (e.g. cv.get_box().clone_display()).
The struct that Servo uses to represent computed values.
This struct contains an immutable atomically-reference-counted pointer to every kind of style struct.
When needed, the structs may be copied in order to get mutated.
Implementations§
Source§impl ComputedValues
impl ComputedValues
Sourcepub fn pseudo(&self) -> Option<&PseudoElement>
pub fn pseudo(&self) -> Option<&PseudoElement>
Returns the pseudo-element that this style represents.
Sourcepub fn is_pseudo_style(&self) -> bool
pub fn is_pseudo_style(&self) -> bool
Returns true if this is the style for a pseudo-element.
Sourcepub fn is_display_contents(&self) -> bool
pub fn is_display_contents(&self) -> bool
Returns whether this style’s display value is equal to contents.
Sourcepub fn rules(&self) -> &StrongRuleNode
pub fn rules(&self) -> &StrongRuleNode
Gets a reference to the rule node. Panic if no rule node exists.
Sourcepub fn visited_rules(&self) -> Option<&StrongRuleNode>
pub fn visited_rules(&self) -> Option<&StrongRuleNode>
Returns the visited rules, if applicable.
Sourcepub fn custom_properties(&self) -> &ComputedCustomProperties
pub fn custom_properties(&self) -> &ComputedCustomProperties
Gets a reference to the custom properties map (if one exists).
Sourcepub fn custom_properties_equal(&self, other: &ComputedValues) -> bool
pub fn custom_properties_equal(&self, other: &ComputedValues) -> bool
Returns whether we have the same custom properties as another style.
Sourcepub fn clone_align_items(&self) -> ItemPlacement
pub fn clone_align_items(&self) -> ItemPlacement
Gets the computed value of a given property.
Sourcepub fn align_items_equals(&self, other: &ComputedValues) -> bool
pub fn align_items_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_alignment_baseline(&self) -> AlignmentBaseline
pub fn clone_alignment_baseline(&self) -> AlignmentBaseline
Gets the computed value of a given property.
Sourcepub fn alignment_baseline_equals(&self, other: &ComputedValues) -> bool
pub fn alignment_baseline_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_aspect_ratio(&self) -> GenericAspectRatio<NonNegative<f32>>
pub fn clone_aspect_ratio(&self) -> GenericAspectRatio<NonNegative<f32>>
Gets the computed value of a given property.
Sourcepub fn aspect_ratio_equals(&self, other: &ComputedValues) -> bool
pub fn aspect_ratio_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_backface_visibility(&self) -> T
pub fn clone_backface_visibility(&self) -> T
Gets the computed value of a given property.
Sourcepub fn backface_visibility_equals(&self, other: &ComputedValues) -> bool
pub fn backface_visibility_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_baseline_source(&self) -> BaselineSource
pub fn clone_baseline_source(&self) -> BaselineSource
Gets the computed value of a given property.
Sourcepub fn baseline_source_equals(&self, other: &ComputedValues) -> bool
pub fn baseline_source_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_collapse(&self) -> T
pub fn clone_border_collapse(&self) -> T
Gets the computed value of a given property.
Sourcepub fn border_collapse_equals(&self, other: &ComputedValues) -> bool
pub fn border_collapse_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_image_repeat(&self) -> BorderImageRepeat
pub fn clone_border_image_repeat(&self) -> BorderImageRepeat
Gets the computed value of a given property.
Sourcepub fn border_image_repeat_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_repeat_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_box_sizing(&self) -> T
pub fn clone_box_sizing(&self) -> T
Gets the computed value of a given property.
Sourcepub fn box_sizing_equals(&self, other: &ComputedValues) -> bool
pub fn box_sizing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_caption_side(&self) -> CaptionSide
pub fn clone_caption_side(&self) -> CaptionSide
Gets the computed value of a given property.
Sourcepub fn caption_side_equals(&self, other: &ComputedValues) -> bool
pub fn caption_side_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_clear(&self) -> Clear
pub fn clone_clear(&self) -> Clear
Gets the computed value of a given property.
Sourcepub fn clear_equals(&self, other: &ComputedValues) -> bool
pub fn clear_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_column_count(
&self,
) -> GenericColumnCount<GreaterThanOrEqualToOne<i32>>
pub fn clone_column_count( &self, ) -> GenericColumnCount<GreaterThanOrEqualToOne<i32>>
Gets the computed value of a given property.
Sourcepub fn column_count_equals(&self, other: &ComputedValues) -> bool
pub fn column_count_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_column_span(&self) -> T
pub fn clone_column_span(&self) -> T
Gets the computed value of a given property.
Sourcepub fn column_span_equals(&self, other: &ComputedValues) -> bool
pub fn column_span_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_contain(&self) -> Contain
pub fn clone_contain(&self) -> Contain
Gets the computed value of a given property.
Sourcepub fn contain_equals(&self, other: &ComputedValues) -> bool
pub fn contain_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_container_type(&self) -> ContainerType
pub fn clone_container_type(&self) -> ContainerType
Gets the computed value of a given property.
Sourcepub fn container_type_equals(&self, other: &ComputedValues) -> bool
pub fn container_type_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_direction(&self) -> T
pub fn clone_direction(&self) -> T
Gets the computed value of a given property.
Sourcepub fn direction_equals(&self, other: &ComputedValues) -> bool
pub fn direction_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_display(&self) -> Display
pub fn clone_display(&self) -> Display
Gets the computed value of a given property.
Sourcepub fn display_equals(&self, other: &ComputedValues) -> bool
pub fn display_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_empty_cells(&self) -> T
pub fn clone_empty_cells(&self) -> T
Gets the computed value of a given property.
Sourcepub fn empty_cells_equals(&self, other: &ComputedValues) -> bool
pub fn empty_cells_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_flex_direction(&self) -> T
pub fn clone_flex_direction(&self) -> T
Gets the computed value of a given property.
Sourcepub fn flex_direction_equals(&self, other: &ComputedValues) -> bool
pub fn flex_direction_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_flex_wrap(&self) -> T
pub fn clone_flex_wrap(&self) -> T
Gets the computed value of a given property.
Sourcepub fn flex_wrap_equals(&self, other: &ComputedValues) -> bool
pub fn flex_wrap_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_float(&self) -> Float
pub fn clone_float(&self) -> Float
Gets the computed value of a given property.
Sourcepub fn float_equals(&self, other: &ComputedValues) -> bool
pub fn float_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_language_override(&self) -> FontLanguageOverride
pub fn clone_font_language_override(&self) -> FontLanguageOverride
Gets the computed value of a given property.
Sourcepub fn font_language_override_equals(&self, other: &ComputedValues) -> bool
pub fn font_language_override_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_optical_sizing(&self) -> T
pub fn clone_font_optical_sizing(&self) -> T
Gets the computed value of a given property.
Sourcepub fn font_optical_sizing_equals(&self, other: &ComputedValues) -> bool
pub fn font_optical_sizing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_stretch(&self) -> FontStretch
pub fn clone_font_stretch(&self) -> FontStretch
Gets the computed value of a given property.
Sourcepub fn font_stretch_equals(&self, other: &ComputedValues) -> bool
pub fn font_stretch_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_style(&self) -> FontStyle
pub fn clone_font_style(&self) -> FontStyle
Gets the computed value of a given property.
Sourcepub fn font_style_equals(&self, other: &ComputedValues) -> bool
pub fn font_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_synthesis_weight(&self) -> FontSynthesis
pub fn clone_font_synthesis_weight(&self) -> FontSynthesis
Gets the computed value of a given property.
Sourcepub fn font_synthesis_weight_equals(&self, other: &ComputedValues) -> bool
pub fn font_synthesis_weight_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_variant_caps(&self) -> T
pub fn clone_font_variant_caps(&self) -> T
Gets the computed value of a given property.
Sourcepub fn font_variant_caps_equals(&self, other: &ComputedValues) -> bool
pub fn font_variant_caps_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_weight(&self) -> FontWeight
pub fn clone_font_weight(&self) -> FontWeight
Gets the computed value of a given property.
Sourcepub fn font_weight_equals(&self, other: &ComputedValues) -> bool
pub fn font_weight_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_auto_flow(&self) -> GridAutoFlow
pub fn clone_grid_auto_flow(&self) -> GridAutoFlow
Gets the computed value of a given property.
Sourcepub fn grid_auto_flow_equals(&self, other: &ComputedValues) -> bool
pub fn grid_auto_flow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_image_rendering(&self) -> ImageRendering
pub fn clone_image_rendering(&self) -> ImageRendering
Gets the computed value of a given property.
Sourcepub fn image_rendering_equals(&self, other: &ComputedValues) -> bool
pub fn image_rendering_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_isolation(&self) -> T
pub fn clone_isolation(&self) -> T
Gets the computed value of a given property.
Sourcepub fn isolation_equals(&self, other: &ComputedValues) -> bool
pub fn isolation_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_justify_items(&self) -> ComputedJustifyItems
pub fn clone_justify_items(&self) -> ComputedJustifyItems
Gets the computed value of a given property.
Sourcepub fn justify_items_equals(&self, other: &ComputedValues) -> bool
pub fn justify_items_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_line_break(&self) -> LineBreak
pub fn clone_line_break(&self) -> LineBreak
Gets the computed value of a given property.
Sourcepub fn line_break_equals(&self, other: &ComputedValues) -> bool
pub fn line_break_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_list_style_position(&self) -> T
pub fn clone_list_style_position(&self) -> T
Gets the computed value of a given property.
Sourcepub fn list_style_position_equals(&self, other: &ComputedValues) -> bool
pub fn list_style_position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_mix_blend_mode(&self) -> T
pub fn clone_mix_blend_mode(&self) -> T
Gets the computed value of a given property.
Sourcepub fn mix_blend_mode_equals(&self, other: &ComputedValues) -> bool
pub fn mix_blend_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_object_fit(&self) -> T
pub fn clone_object_fit(&self) -> T
Gets the computed value of a given property.
Sourcepub fn object_fit_equals(&self, other: &ComputedValues) -> bool
pub fn object_fit_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_opacity(&self) -> f32
pub fn clone_opacity(&self) -> f32
Gets the computed value of a given property.
Sourcepub fn opacity_equals(&self, other: &ComputedValues) -> bool
pub fn opacity_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_order(&self) -> i32
pub fn clone_order(&self) -> i32
Gets the computed value of a given property.
Sourcepub fn order_equals(&self, other: &ComputedValues) -> bool
pub fn order_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_outline_style(&self) -> OutlineStyle
pub fn clone_outline_style(&self) -> OutlineStyle
Gets the computed value of a given property.
Sourcepub fn outline_style_equals(&self, other: &ComputedValues) -> bool
pub fn outline_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_overflow_wrap(&self) -> OverflowWrap
pub fn clone_overflow_wrap(&self) -> OverflowWrap
Gets the computed value of a given property.
Sourcepub fn overflow_wrap_equals(&self, other: &ComputedValues) -> bool
pub fn overflow_wrap_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_pointer_events(&self) -> PointerEvents
pub fn clone_pointer_events(&self) -> PointerEvents
Gets the computed value of a given property.
Sourcepub fn pointer_events_equals(&self, other: &ComputedValues) -> bool
pub fn pointer_events_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_position(&self) -> PositionProperty
pub fn clone_position(&self) -> PositionProperty
Gets the computed value of a given property.
Sourcepub fn position_equals(&self, other: &ComputedValues) -> bool
pub fn position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_position_area(&self) -> PositionArea
pub fn clone_position_area(&self) -> PositionArea
Gets the computed value of a given property.
Sourcepub fn position_area_equals(&self, other: &ComputedValues) -> bool
pub fn position_area_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone__servo_overflow_clip_box(&self) -> T
pub fn clone__servo_overflow_clip_box(&self) -> T
Gets the computed value of a given property.
Sourcepub fn _servo_overflow_clip_box_equals(&self, other: &ComputedValues) -> bool
pub fn _servo_overflow_clip_box_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone__servo_top_layer(&self) -> T
pub fn clone__servo_top_layer(&self) -> T
Gets the computed value of a given property.
Sourcepub fn _servo_top_layer_equals(&self, other: &ComputedValues) -> bool
pub fn _servo_top_layer_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_table_layout(&self) -> T
pub fn clone_table_layout(&self) -> T
Gets the computed value of a given property.
Sourcepub fn table_layout_equals(&self, other: &ComputedValues) -> bool
pub fn table_layout_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_align(&self) -> TextAlignKeyword
pub fn clone_text_align(&self) -> TextAlignKeyword
Gets the computed value of a given property.
Sourcepub fn text_align_equals(&self, other: &ComputedValues) -> bool
pub fn text_align_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_align_last(&self) -> TextAlignLast
pub fn clone_text_align_last(&self) -> TextAlignLast
Gets the computed value of a given property.
Sourcepub fn text_align_last_equals(&self, other: &ComputedValues) -> bool
pub fn text_align_last_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_decoration_line(&self) -> TextDecorationLine
pub fn clone_text_decoration_line(&self) -> TextDecorationLine
Gets the computed value of a given property.
Sourcepub fn text_decoration_line_equals(&self, other: &ComputedValues) -> bool
pub fn text_decoration_line_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_decoration_style(&self) -> T
pub fn clone_text_decoration_style(&self) -> T
Gets the computed value of a given property.
Sourcepub fn text_decoration_style_equals(&self, other: &ComputedValues) -> bool
pub fn text_decoration_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_justify(&self) -> TextJustify
pub fn clone_text_justify(&self) -> TextJustify
Gets the computed value of a given property.
Sourcepub fn text_justify_equals(&self, other: &ComputedValues) -> bool
pub fn text_justify_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_rendering(&self) -> T
pub fn clone_text_rendering(&self) -> T
Gets the computed value of a given property.
Sourcepub fn text_rendering_equals(&self, other: &ComputedValues) -> bool
pub fn text_rendering_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_transform(&self) -> TextTransform
pub fn clone_text_transform(&self) -> TextTransform
Gets the computed value of a given property.
Sourcepub fn text_transform_equals(&self, other: &ComputedValues) -> bool
pub fn text_transform_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_wrap_mode(&self) -> T
pub fn clone_text_wrap_mode(&self) -> T
Gets the computed value of a given property.
Sourcepub fn text_wrap_mode_equals(&self, other: &ComputedValues) -> bool
pub fn text_wrap_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_transform_style(&self) -> TransformStyle
pub fn clone_transform_style(&self) -> TransformStyle
Gets the computed value of a given property.
Sourcepub fn transform_style_equals(&self, other: &ComputedValues) -> bool
pub fn transform_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_unicode_bidi(&self) -> T
pub fn clone_unicode_bidi(&self) -> T
Gets the computed value of a given property.
Sourcepub fn unicode_bidi_equals(&self, other: &ComputedValues) -> bool
pub fn unicode_bidi_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_visibility(&self) -> T
pub fn clone_visibility(&self) -> T
Gets the computed value of a given property.
Sourcepub fn visibility_equals(&self, other: &ComputedValues) -> bool
pub fn visibility_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone__webkit_text_security(&self) -> T
pub fn clone__webkit_text_security(&self) -> T
Gets the computed value of a given property.
Sourcepub fn _webkit_text_security_equals(&self, other: &ComputedValues) -> bool
pub fn _webkit_text_security_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_white_space_collapse(&self) -> T
pub fn clone_white_space_collapse(&self) -> T
Gets the computed value of a given property.
Sourcepub fn white_space_collapse_equals(&self, other: &ComputedValues) -> bool
pub fn white_space_collapse_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_word_break(&self) -> WordBreak
pub fn clone_word_break(&self) -> WordBreak
Gets the computed value of a given property.
Sourcepub fn word_break_equals(&self, other: &ComputedValues) -> bool
pub fn word_break_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_writing_mode(&self) -> WritingModeProperty
pub fn clone_writing_mode(&self) -> WritingModeProperty
Gets the computed value of a given property.
Sourcepub fn writing_mode_equals(&self, other: &ComputedValues) -> bool
pub fn writing_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_z_index(&self) -> GenericZIndex<i32>
pub fn clone_z_index(&self) -> GenericZIndex<i32>
Gets the computed value of a given property.
Sourcepub fn z_index_equals(&self, other: &ComputedValues) -> bool
pub fn z_index_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_zoom(&self) -> Zoom
pub fn clone_zoom(&self) -> Zoom
Gets the computed value of a given property.
Sourcepub fn zoom_equals(&self, other: &ComputedValues) -> bool
pub fn zoom_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_align_content(&self) -> ContentDistribution
pub fn clone_align_content(&self) -> ContentDistribution
Gets the computed value of a given property.
Sourcepub fn align_content_equals(&self, other: &ComputedValues) -> bool
pub fn align_content_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_justify_content(&self) -> ContentDistribution
pub fn clone_justify_content(&self) -> ContentDistribution
Gets the computed value of a given property.
Sourcepub fn justify_content_equals(&self, other: &ComputedValues) -> bool
pub fn justify_content_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_flex_grow(&self) -> NonNegative<f32>
pub fn clone_flex_grow(&self) -> NonNegative<f32>
Gets the computed value of a given property.
Sourcepub fn flex_grow_equals(&self, other: &ComputedValues) -> bool
pub fn flex_grow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_flex_shrink(&self) -> NonNegative<f32>
pub fn clone_flex_shrink(&self) -> NonNegative<f32>
Gets the computed value of a given property.
Sourcepub fn flex_shrink_equals(&self, other: &ComputedValues) -> bool
pub fn flex_shrink_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_align_self(&self) -> SelfAlignment
pub fn clone_align_self(&self) -> SelfAlignment
Gets the computed value of a given property.
Sourcepub fn align_self_equals(&self, other: &ComputedValues) -> bool
pub fn align_self_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_justify_self(&self) -> SelfAlignment
pub fn clone_justify_self(&self) -> SelfAlignment
Gets the computed value of a given property.
Sourcepub fn justify_self_equals(&self, other: &ComputedValues) -> bool
pub fn justify_self_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_overflow_x(&self) -> Overflow
pub fn clone_overflow_x(&self) -> Overflow
Gets the computed value of a given property.
Sourcepub fn overflow_x_equals(&self, other: &ComputedValues) -> bool
pub fn overflow_x_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_overflow_y(&self) -> Overflow
pub fn clone_overflow_y(&self) -> Overflow
Gets the computed value of a given property.
Sourcepub fn overflow_y_equals(&self, other: &ComputedValues) -> bool
pub fn overflow_y_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_bottom_style(&self) -> BorderStyle
pub fn clone_border_bottom_style(&self) -> BorderStyle
Gets the computed value of a given property.
Sourcepub fn border_bottom_style_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_left_style(&self) -> BorderStyle
pub fn clone_border_left_style(&self) -> BorderStyle
Gets the computed value of a given property.
Sourcepub fn border_left_style_equals(&self, other: &ComputedValues) -> bool
pub fn border_left_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_right_style(&self) -> BorderStyle
pub fn clone_border_right_style(&self) -> BorderStyle
Gets the computed value of a given property.
Sourcepub fn border_right_style_equals(&self, other: &ComputedValues) -> bool
pub fn border_right_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_top_style(&self) -> BorderStyle
pub fn clone_border_top_style(&self) -> BorderStyle
Gets the computed value of a given property.
Sourcepub fn border_top_style_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_style_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_composition(&self) -> OwnedList<AnimationComposition>
pub fn clone_animation_composition(&self) -> OwnedList<AnimationComposition>
Gets the computed value of a given property.
Sourcepub fn animation_composition_equals(&self, other: &ComputedValues) -> bool
pub fn animation_composition_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_delay(&self) -> OwnedList<Time>
pub fn clone_animation_delay(&self) -> OwnedList<Time>
Gets the computed value of a given property.
Sourcepub fn animation_delay_equals(&self, other: &ComputedValues) -> bool
pub fn animation_delay_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_direction(&self) -> OwnedList<AnimationDirection>
pub fn clone_animation_direction(&self) -> OwnedList<AnimationDirection>
Gets the computed value of a given property.
Sourcepub fn animation_direction_equals(&self, other: &ComputedValues) -> bool
pub fn animation_direction_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_duration(
&self,
) -> OwnedList<GenericAnimationDuration<Time>>
pub fn clone_animation_duration( &self, ) -> OwnedList<GenericAnimationDuration<Time>>
Gets the computed value of a given property.
Sourcepub fn animation_duration_equals(&self, other: &ComputedValues) -> bool
pub fn animation_duration_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_fill_mode(&self) -> OwnedList<AnimationFillMode>
pub fn clone_animation_fill_mode(&self) -> OwnedList<AnimationFillMode>
Gets the computed value of a given property.
Sourcepub fn animation_fill_mode_equals(&self, other: &ComputedValues) -> bool
pub fn animation_fill_mode_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_iteration_count(
&self,
) -> OwnedList<AnimationIterationCount>
pub fn clone_animation_iteration_count( &self, ) -> OwnedList<AnimationIterationCount>
Gets the computed value of a given property.
Sourcepub fn animation_iteration_count_equals(&self, other: &ComputedValues) -> bool
pub fn animation_iteration_count_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_name(&self) -> OwnedList<AnimationName>
pub fn clone_animation_name(&self) -> OwnedList<AnimationName>
Gets the computed value of a given property.
Sourcepub fn animation_name_equals(&self, other: &ComputedValues) -> bool
pub fn animation_name_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_play_state(&self) -> OwnedList<AnimationPlayState>
pub fn clone_animation_play_state(&self) -> OwnedList<AnimationPlayState>
Gets the computed value of a given property.
Sourcepub fn animation_play_state_equals(&self, other: &ComputedValues) -> bool
pub fn animation_play_state_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_range_end(
&self,
) -> OwnedList<GenericAnimationRangeEnd<LengthPercentage>>
pub fn clone_animation_range_end( &self, ) -> OwnedList<GenericAnimationRangeEnd<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn animation_range_end_equals(&self, other: &ComputedValues) -> bool
pub fn animation_range_end_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_range_start(
&self,
) -> OwnedList<GenericAnimationRangeStart<LengthPercentage>>
pub fn clone_animation_range_start( &self, ) -> OwnedList<GenericAnimationRangeStart<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn animation_range_start_equals(&self, other: &ComputedValues) -> bool
pub fn animation_range_start_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_timeline(
&self,
) -> OwnedList<GenericAnimationTimeline<LengthPercentage>>
pub fn clone_animation_timeline( &self, ) -> OwnedList<GenericAnimationTimeline<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn animation_timeline_equals(&self, other: &ComputedValues) -> bool
pub fn animation_timeline_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_animation_timing_function(
&self,
) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>
pub fn clone_animation_timing_function( &self, ) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>
Gets the computed value of a given property.
Sourcepub fn animation_timing_function_equals(&self, other: &ComputedValues) -> bool
pub fn animation_timing_function_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_backdrop_filter(
&self,
) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>
pub fn clone_backdrop_filter( &self, ) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>
Gets the computed value of a given property.
Sourcepub fn backdrop_filter_equals(&self, other: &ComputedValues) -> bool
pub fn backdrop_filter_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_background_attachment(&self) -> OwnedList<T>
pub fn clone_background_attachment(&self) -> OwnedList<T>
Gets the computed value of a given property.
Sourcepub fn background_attachment_equals(&self, other: &ComputedValues) -> bool
pub fn background_attachment_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_background_clip(&self) -> OwnedList<T>
pub fn clone_background_clip(&self) -> OwnedList<T>
Gets the computed value of a given property.
Sourcepub fn background_clip_equals(&self, other: &ComputedValues) -> bool
pub fn background_clip_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_background_image(
&self,
) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
pub fn clone_background_image( &self, ) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
Gets the computed value of a given property.
Sourcepub fn background_image_equals(&self, other: &ComputedValues) -> bool
pub fn background_image_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_background_origin(&self) -> OwnedList<T>
pub fn clone_background_origin(&self) -> OwnedList<T>
Gets the computed value of a given property.
Sourcepub fn background_origin_equals(&self, other: &ComputedValues) -> bool
pub fn background_origin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_background_position_x(&self) -> OwnedList<LengthPercentage>
pub fn clone_background_position_x(&self) -> OwnedList<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn background_position_x_equals(&self, other: &ComputedValues) -> bool
pub fn background_position_x_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_background_position_y(&self) -> OwnedList<LengthPercentage>
pub fn clone_background_position_y(&self) -> OwnedList<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn background_position_y_equals(&self, other: &ComputedValues) -> bool
pub fn background_position_y_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_background_repeat(&self) -> OwnedList<BackgroundRepeat>
pub fn clone_background_repeat(&self) -> OwnedList<BackgroundRepeat>
Gets the computed value of a given property.
Sourcepub fn background_repeat_equals(&self, other: &ComputedValues) -> bool
pub fn background_repeat_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_background_size(
&self,
) -> OwnedList<GenericBackgroundSize<NonNegative<LengthPercentage>>>
pub fn clone_background_size( &self, ) -> OwnedList<GenericBackgroundSize<NonNegative<LengthPercentage>>>
Gets the computed value of a given property.
Sourcepub fn background_size_equals(&self, other: &ComputedValues) -> bool
pub fn background_size_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_baseline_shift(&self) -> GenericBaselineShift<LengthPercentage>
pub fn clone_baseline_shift(&self) -> GenericBaselineShift<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn baseline_shift_equals(&self, other: &ComputedValues) -> bool
pub fn baseline_shift_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_image_outset(
&self,
) -> Rect<GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>>
pub fn clone_border_image_outset( &self, ) -> Rect<GenericLengthOrNumber<NonNegative<CSSPixelLength>, NonNegative<f32>>>
Gets the computed value of a given property.
Sourcepub fn border_image_outset_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_outset_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_image_slice(
&self,
) -> GenericBorderImageSlice<NonNegative<NumberOrPercentage>>
pub fn clone_border_image_slice( &self, ) -> GenericBorderImageSlice<NonNegative<NumberOrPercentage>>
Gets the computed value of a given property.
Sourcepub fn border_image_slice_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_slice_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_image_width(
&self,
) -> Rect<GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<f32>>>
pub fn clone_border_image_width( &self, ) -> Rect<GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<f32>>>
Gets the computed value of a given property.
Sourcepub fn border_image_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_spacing(
&self,
) -> GenericBorderSpacing<NonNegative<CSSPixelLength>>
pub fn clone_border_spacing( &self, ) -> GenericBorderSpacing<NonNegative<CSSPixelLength>>
Gets the computed value of a given property.
Sourcepub fn border_spacing_equals(&self, other: &ComputedValues) -> bool
pub fn border_spacing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_box_shadow(
&self,
) -> OwnedList<GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>, CSSPixelLength>>
pub fn clone_box_shadow( &self, ) -> OwnedList<GenericBoxShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>, CSSPixelLength>>
Gets the computed value of a given property.
Sourcepub fn box_shadow_equals(&self, other: &ComputedValues) -> bool
pub fn box_shadow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_caret_color(&self) -> GenericCaretColor<GenericColor<Percentage>>
pub fn clone_caret_color(&self) -> GenericCaretColor<GenericColor<Percentage>>
Gets the computed value of a given property.
Sourcepub fn caret_color_equals(&self, other: &ComputedValues) -> bool
pub fn caret_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_clip(
&self,
) -> GenericClipRectOrAuto<GenericClipRect<GenericLengthPercentageOrAuto<CSSPixelLength>>>
pub fn clone_clip( &self, ) -> GenericClipRectOrAuto<GenericClipRect<GenericLengthPercentageOrAuto<CSSPixelLength>>>
Gets the computed value of a given property.
Sourcepub fn clip_equals(&self, other: &ComputedValues) -> bool
pub fn clip_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_clip_path(
&self,
) -> GenericClipPath<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, ComputedUrl>
pub fn clone_clip_path( &self, ) -> GenericClipPath<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, ComputedUrl>
Gets the computed value of a given property.
Sourcepub fn clip_path_equals(&self, other: &ComputedValues) -> bool
pub fn clip_path_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_color(&self) -> AbsoluteColor
pub fn clone_color(&self) -> AbsoluteColor
Gets the computed value of a given property.
Sourcepub fn color_equals(&self, other: &ComputedValues) -> bool
pub fn color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_color_scheme(&self) -> ColorScheme
pub fn clone_color_scheme(&self) -> ColorScheme
Gets the computed value of a given property.
Sourcepub fn color_scheme_equals(&self, other: &ComputedValues) -> bool
pub fn color_scheme_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_column_width(
&self,
) -> GenericLengthPercentageOrAuto<NonNegative<CSSPixelLength>>
pub fn clone_column_width( &self, ) -> GenericLengthPercentageOrAuto<NonNegative<CSSPixelLength>>
Gets the computed value of a given property.
Sourcepub fn column_width_equals(&self, other: &ComputedValues) -> bool
pub fn column_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_container_name(&self) -> ContainerName
pub fn clone_container_name(&self) -> ContainerName
Gets the computed value of a given property.
Sourcepub fn container_name_equals(&self, other: &ComputedValues) -> bool
pub fn container_name_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_content(
&self,
) -> GenericContent<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
pub fn clone_content( &self, ) -> GenericContent<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
Gets the computed value of a given property.
Sourcepub fn content_equals(&self, other: &ComputedValues) -> bool
pub fn content_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_counter_increment(&self) -> GenericCounterIncrement<i32>
pub fn clone_counter_increment(&self) -> GenericCounterIncrement<i32>
Gets the computed value of a given property.
Sourcepub fn counter_increment_equals(&self, other: &ComputedValues) -> bool
pub fn counter_increment_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_counter_reset(&self) -> GenericCounterReset<i32>
pub fn clone_counter_reset(&self) -> GenericCounterReset<i32>
Gets the computed value of a given property.
Sourcepub fn counter_reset_equals(&self, other: &ComputedValues) -> bool
pub fn counter_reset_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_cursor(
&self,
) -> GenericCursor<GenericCursorImage<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>
pub fn clone_cursor( &self, ) -> GenericCursor<GenericCursorImage<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>, f32>>
Gets the computed value of a given property.
Sourcepub fn cursor_equals(&self, other: &ComputedValues) -> bool
pub fn cursor_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_filter(
&self,
) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>
pub fn clone_filter( &self, ) -> OwnedList<GenericFilter<Angle, f32, CSSPixelLength, GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>, Impossible>>
Gets the computed value of a given property.
Sourcepub fn filter_equals(&self, other: &ComputedValues) -> bool
pub fn filter_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_flex_basis(
&self,
) -> GenericFlexBasis<GenericSize<NonNegative<LengthPercentage>>>
pub fn clone_flex_basis( &self, ) -> GenericFlexBasis<GenericSize<NonNegative<LengthPercentage>>>
Gets the computed value of a given property.
Sourcepub fn flex_basis_equals(&self, other: &ComputedValues) -> bool
pub fn flex_basis_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_family(&self) -> FontFamily
pub fn clone_font_family(&self) -> FontFamily
Gets the computed value of a given property.
Sourcepub fn font_family_equals(&self, other: &ComputedValues) -> bool
pub fn font_family_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_size(&self) -> FontSize
pub fn clone_font_size(&self) -> FontSize
Gets the computed value of a given property.
Sourcepub fn font_size_equals(&self, other: &ComputedValues) -> bool
pub fn font_size_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_font_variation_settings(&self) -> FontSettings<VariationValue<f32>>
pub fn clone_font_variation_settings(&self) -> FontSettings<VariationValue<f32>>
Gets the computed value of a given property.
Sourcepub fn font_variation_settings_equals(&self, other: &ComputedValues) -> bool
pub fn font_variation_settings_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_template_areas(&self) -> GridTemplateAreas
pub fn clone_grid_template_areas(&self) -> GridTemplateAreas
Gets the computed value of a given property.
Sourcepub fn grid_template_areas_equals(&self, other: &ComputedValues) -> bool
pub fn grid_template_areas_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_letter_spacing(&self) -> GenericLetterSpacing<LengthPercentage>
pub fn clone_letter_spacing(&self) -> GenericLetterSpacing<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn letter_spacing_equals(&self, other: &ComputedValues) -> bool
pub fn letter_spacing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_line_height(
&self,
) -> GenericLineHeight<NonNegative<f32>, NonNegative<CSSPixelLength>>
pub fn clone_line_height( &self, ) -> GenericLineHeight<NonNegative<f32>, NonNegative<CSSPixelLength>>
Gets the computed value of a given property.
Sourcepub fn line_height_equals(&self, other: &ComputedValues) -> bool
pub fn line_height_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_list_style_type(&self) -> ListStyleType
pub fn clone_list_style_type(&self) -> ListStyleType
Gets the computed value of a given property.
Sourcepub fn list_style_type_equals(&self, other: &ComputedValues) -> bool
pub fn list_style_type_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_mask_image(
&self,
) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
pub fn clone_mask_image( &self, ) -> OwnedList<GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>>
Gets the computed value of a given property.
Sourcepub fn mask_image_equals(&self, other: &ComputedValues) -> bool
pub fn mask_image_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_offset_path(
&self,
) -> GenericOffsetPath<GenericOffsetPathFunction<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, GenericRayFunction<Angle, GenericPosition<LengthPercentage, LengthPercentage>>, ComputedUrl>>
pub fn clone_offset_path( &self, ) -> GenericOffsetPath<GenericOffsetPathFunction<GenericBasicShape<Angle, GenericPosition<LengthPercentage, LengthPercentage>, LengthPercentage, GenericInsetRect<LengthPercentage>>, GenericRayFunction<Angle, GenericPosition<LengthPercentage, LengthPercentage>>, ComputedUrl>>
Gets the computed value of a given property.
Sourcepub fn offset_path_equals(&self, other: &ComputedValues) -> bool
pub fn offset_path_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_outline_offset(&self) -> Au
pub fn clone_outline_offset(&self) -> Au
Gets the computed value of a given property.
Sourcepub fn outline_offset_equals(&self, other: &ComputedValues) -> bool
pub fn outline_offset_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_overflow_clip_margin(
&self,
) -> GenericOverflowClipMargin<NonNegative<CSSPixelLength>>
pub fn clone_overflow_clip_margin( &self, ) -> GenericOverflowClipMargin<NonNegative<CSSPixelLength>>
Gets the computed value of a given property.
Sourcepub fn overflow_clip_margin_equals(&self, other: &ComputedValues) -> bool
pub fn overflow_clip_margin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_perspective(
&self,
) -> GenericPerspective<NonNegative<CSSPixelLength>>
pub fn clone_perspective( &self, ) -> GenericPerspective<NonNegative<CSSPixelLength>>
Gets the computed value of a given property.
Sourcepub fn perspective_equals(&self, other: &ComputedValues) -> bool
pub fn perspective_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_position_try_fallbacks(&self) -> PositionTryFallbacks
pub fn clone_position_try_fallbacks(&self) -> PositionTryFallbacks
Gets the computed value of a given property.
Sourcepub fn position_try_fallbacks_equals(&self, other: &ComputedValues) -> bool
pub fn position_try_fallbacks_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_quotes(&self) -> Quotes
pub fn clone_quotes(&self) -> Quotes
Gets the computed value of a given property.
Sourcepub fn quotes_equals(&self, other: &ComputedValues) -> bool
pub fn quotes_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_rotate(&self) -> GenericRotate<f32, Angle>
pub fn clone_rotate(&self) -> GenericRotate<f32, Angle>
Gets the computed value of a given property.
Sourcepub fn rotate_equals(&self, other: &ComputedValues) -> bool
pub fn rotate_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_scale(&self) -> GenericScale<f32>
pub fn clone_scale(&self) -> GenericScale<f32>
Gets the computed value of a given property.
Sourcepub fn scale_equals(&self, other: &ComputedValues) -> bool
pub fn scale_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_indent(&self) -> GenericTextIndent<LengthPercentage>
pub fn clone_text_indent(&self) -> GenericTextIndent<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn text_indent_equals(&self, other: &ComputedValues) -> bool
pub fn text_indent_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_overflow(&self) -> TextOverflow
pub fn clone_text_overflow(&self) -> TextOverflow
Gets the computed value of a given property.
Sourcepub fn text_overflow_equals(&self, other: &ComputedValues) -> bool
pub fn text_overflow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_shadow(&self) -> ComputedList
pub fn clone_text_shadow(&self) -> ComputedList
Gets the computed value of a given property.
Sourcepub fn text_shadow_equals(&self, other: &ComputedValues) -> bool
pub fn text_shadow_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_transform(
&self,
) -> GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>
pub fn clone_transform( &self, ) -> GenericTransform<GenericTransformOperation<Angle, f32, CSSPixelLength, i32, LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn transform_equals(&self, other: &ComputedValues) -> bool
pub fn transform_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_transform_origin(
&self,
) -> GenericTransformOrigin<LengthPercentage, LengthPercentage, CSSPixelLength>
pub fn clone_transform_origin( &self, ) -> GenericTransformOrigin<LengthPercentage, LengthPercentage, CSSPixelLength>
Gets the computed value of a given property.
Sourcepub fn transform_origin_equals(&self, other: &ComputedValues) -> bool
pub fn transform_origin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_transition_behavior(&self) -> OwnedList<TransitionBehavior>
pub fn clone_transition_behavior(&self) -> OwnedList<TransitionBehavior>
Gets the computed value of a given property.
Sourcepub fn transition_behavior_equals(&self, other: &ComputedValues) -> bool
pub fn transition_behavior_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_transition_delay(&self) -> OwnedList<Time>
pub fn clone_transition_delay(&self) -> OwnedList<Time>
Gets the computed value of a given property.
Sourcepub fn transition_delay_equals(&self, other: &ComputedValues) -> bool
pub fn transition_delay_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_transition_duration(&self) -> OwnedList<Time>
pub fn clone_transition_duration(&self) -> OwnedList<Time>
Gets the computed value of a given property.
Sourcepub fn transition_duration_equals(&self, other: &ComputedValues) -> bool
pub fn transition_duration_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_transition_property(&self) -> OwnedList<TransitionProperty>
pub fn clone_transition_property(&self) -> OwnedList<TransitionProperty>
Gets the computed value of a given property.
Sourcepub fn transition_property_equals(&self, other: &ComputedValues) -> bool
pub fn transition_property_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_transition_timing_function(
&self,
) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>
pub fn clone_transition_timing_function( &self, ) -> OwnedList<TimingFunction<i32, f32, PiecewiseLinearFunction>>
Gets the computed value of a given property.
Sourcepub fn transition_timing_function_equals(&self, other: &ComputedValues) -> bool
pub fn transition_timing_function_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_translate(
&self,
) -> GenericTranslate<LengthPercentage, CSSPixelLength>
pub fn clone_translate( &self, ) -> GenericTranslate<LengthPercentage, CSSPixelLength>
Gets the computed value of a given property.
Sourcepub fn translate_equals(&self, other: &ComputedValues) -> bool
pub fn translate_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_view_transition_class(&self) -> ViewTransitionClass
pub fn clone_view_transition_class(&self) -> ViewTransitionClass
Gets the computed value of a given property.
Sourcepub fn view_transition_class_equals(&self, other: &ComputedValues) -> bool
pub fn view_transition_class_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_view_transition_name(&self) -> ViewTransitionName
pub fn clone_view_transition_name(&self) -> ViewTransitionName
Gets the computed value of a given property.
Sourcepub fn view_transition_name_equals(&self, other: &ComputedValues) -> bool
pub fn view_transition_name_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_will_change(&self) -> WillChange
pub fn clone_will_change(&self) -> WillChange
Gets the computed value of a given property.
Sourcepub fn will_change_equals(&self, other: &ComputedValues) -> bool
pub fn will_change_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_word_spacing(&self) -> LengthPercentage
pub fn clone_word_spacing(&self) -> LengthPercentage
Gets the computed value of a given property.
Sourcepub fn word_spacing_equals(&self, other: &ComputedValues) -> bool
pub fn word_spacing_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone__x_lang(&self) -> XLang
pub fn clone__x_lang(&self) -> XLang
Gets the computed value of a given property.
Sourcepub fn _x_lang_equals(&self, other: &ComputedValues) -> bool
pub fn _x_lang_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_object_position(
&self,
) -> GenericPosition<LengthPercentage, LengthPercentage>
pub fn clone_object_position( &self, ) -> GenericPosition<LengthPercentage, LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn object_position_equals(&self, other: &ComputedValues) -> bool
pub fn object_position_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_perspective_origin(
&self,
) -> GenericPosition<LengthPercentage, LengthPercentage>
pub fn clone_perspective_origin( &self, ) -> GenericPosition<LengthPercentage, LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn perspective_origin_equals(&self, other: &ComputedValues) -> bool
pub fn perspective_origin_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_template_columns(
&self,
) -> GenericGridTemplateComponent<LengthPercentage, i32>
pub fn clone_grid_template_columns( &self, ) -> GenericGridTemplateComponent<LengthPercentage, i32>
Gets the computed value of a given property.
Sourcepub fn grid_template_columns_equals(&self, other: &ComputedValues) -> bool
pub fn grid_template_columns_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_template_rows(
&self,
) -> GenericGridTemplateComponent<LengthPercentage, i32>
pub fn clone_grid_template_rows( &self, ) -> GenericGridTemplateComponent<LengthPercentage, i32>
Gets the computed value of a given property.
Sourcepub fn grid_template_rows_equals(&self, other: &ComputedValues) -> bool
pub fn grid_template_rows_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_image_source(
&self,
) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
pub fn clone_border_image_source( &self, ) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
Gets the computed value of a given property.
Sourcepub fn border_image_source_equals(&self, other: &ComputedValues) -> bool
pub fn border_image_source_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_list_style_image(
&self,
) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
pub fn clone_list_style_image( &self, ) -> GenericImage<GenericGradient<LineDirection, CSSPixelLength, LengthPercentage, GenericPosition<LengthPercentage, LengthPercentage>, Angle, AngleOrPercentage, GenericColor<Percentage>>, ComputedUrl, GenericColor<Percentage>, Percentage, Resolution>
Gets the computed value of a given property.
Sourcepub fn list_style_image_equals(&self, other: &ComputedValues) -> bool
pub fn list_style_image_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_auto_columns(
&self,
) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
pub fn clone_grid_auto_columns( &self, ) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn grid_auto_columns_equals(&self, other: &ComputedValues) -> bool
pub fn grid_auto_columns_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_auto_rows(
&self,
) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
pub fn clone_grid_auto_rows( &self, ) -> GenericImplicitGridTracks<GenericTrackSize<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn grid_auto_rows_equals(&self, other: &ComputedValues) -> bool
pub fn grid_auto_rows_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_column_gap(
&self,
) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
pub fn clone_column_gap( &self, ) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn column_gap_equals(&self, other: &ComputedValues) -> bool
pub fn column_gap_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_row_gap(
&self,
) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
pub fn clone_row_gap( &self, ) -> GenericLengthPercentageOrNormal<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn row_gap_equals(&self, other: &ComputedValues) -> bool
pub fn row_gap_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_column_end(&self) -> GenericGridLine<i32>
pub fn clone_grid_column_end(&self) -> GenericGridLine<i32>
Gets the computed value of a given property.
Sourcepub fn grid_column_end_equals(&self, other: &ComputedValues) -> bool
pub fn grid_column_end_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_column_start(&self) -> GenericGridLine<i32>
pub fn clone_grid_column_start(&self) -> GenericGridLine<i32>
Gets the computed value of a given property.
Sourcepub fn grid_column_start_equals(&self, other: &ComputedValues) -> bool
pub fn grid_column_start_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_row_end(&self) -> GenericGridLine<i32>
pub fn clone_grid_row_end(&self) -> GenericGridLine<i32>
Gets the computed value of a given property.
Sourcepub fn grid_row_end_equals(&self, other: &ComputedValues) -> bool
pub fn grid_row_end_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_grid_row_start(&self) -> GenericGridLine<i32>
pub fn clone_grid_row_start(&self) -> GenericGridLine<i32>
Gets the computed value of a given property.
Sourcepub fn grid_row_start_equals(&self, other: &ComputedValues) -> bool
pub fn grid_row_start_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_max_height(&self) -> GenericMaxSize<NonNegative<LengthPercentage>>
pub fn clone_max_height(&self) -> GenericMaxSize<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn max_height_equals(&self, other: &ComputedValues) -> bool
pub fn max_height_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_max_width(&self) -> GenericMaxSize<NonNegative<LengthPercentage>>
pub fn clone_max_width(&self) -> GenericMaxSize<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn max_width_equals(&self, other: &ComputedValues) -> bool
pub fn max_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_bottom_left_radius(
&self,
) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn clone_border_bottom_left_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn border_bottom_left_radius_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_left_radius_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_bottom_right_radius(
&self,
) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn clone_border_bottom_right_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn border_bottom_right_radius_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_right_radius_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_top_left_radius(
&self,
) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn clone_border_top_left_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn border_top_left_radius_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_left_radius_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_top_right_radius(
&self,
) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
pub fn clone_border_top_right_radius( &self, ) -> GenericBorderCornerRadius<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn border_top_right_radius_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_right_radius_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_bottom(&self) -> GenericInset<Percentage, LengthPercentage>
pub fn clone_bottom(&self) -> GenericInset<Percentage, LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn bottom_equals(&self, other: &ComputedValues) -> bool
pub fn bottom_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_left(&self) -> GenericInset<Percentage, LengthPercentage>
pub fn clone_left(&self) -> GenericInset<Percentage, LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn left_equals(&self, other: &ComputedValues) -> bool
pub fn left_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_right(&self) -> GenericInset<Percentage, LengthPercentage>
pub fn clone_right(&self) -> GenericInset<Percentage, LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn right_equals(&self, other: &ComputedValues) -> bool
pub fn right_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_top(&self) -> GenericInset<Percentage, LengthPercentage>
pub fn clone_top(&self) -> GenericInset<Percentage, LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn top_equals(&self, other: &ComputedValues) -> bool
pub fn top_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_margin_bottom(&self) -> GenericMargin<LengthPercentage>
pub fn clone_margin_bottom(&self) -> GenericMargin<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn margin_bottom_equals(&self, other: &ComputedValues) -> bool
pub fn margin_bottom_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_margin_left(&self) -> GenericMargin<LengthPercentage>
pub fn clone_margin_left(&self) -> GenericMargin<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn margin_left_equals(&self, other: &ComputedValues) -> bool
pub fn margin_left_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_margin_right(&self) -> GenericMargin<LengthPercentage>
pub fn clone_margin_right(&self) -> GenericMargin<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn margin_right_equals(&self, other: &ComputedValues) -> bool
pub fn margin_right_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_margin_top(&self) -> GenericMargin<LengthPercentage>
pub fn clone_margin_top(&self) -> GenericMargin<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn margin_top_equals(&self, other: &ComputedValues) -> bool
pub fn margin_top_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_padding_bottom(&self) -> NonNegative<LengthPercentage>
pub fn clone_padding_bottom(&self) -> NonNegative<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn padding_bottom_equals(&self, other: &ComputedValues) -> bool
pub fn padding_bottom_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_padding_left(&self) -> NonNegative<LengthPercentage>
pub fn clone_padding_left(&self) -> NonNegative<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn padding_left_equals(&self, other: &ComputedValues) -> bool
pub fn padding_left_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_padding_right(&self) -> NonNegative<LengthPercentage>
pub fn clone_padding_right(&self) -> NonNegative<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn padding_right_equals(&self, other: &ComputedValues) -> bool
pub fn padding_right_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_padding_top(&self) -> NonNegative<LengthPercentage>
pub fn clone_padding_top(&self) -> NonNegative<LengthPercentage>
Gets the computed value of a given property.
Sourcepub fn padding_top_equals(&self, other: &ComputedValues) -> bool
pub fn padding_top_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_height(&self) -> GenericSize<NonNegative<LengthPercentage>>
pub fn clone_height(&self) -> GenericSize<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn height_equals(&self, other: &ComputedValues) -> bool
pub fn height_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_min_height(&self) -> GenericSize<NonNegative<LengthPercentage>>
pub fn clone_min_height(&self) -> GenericSize<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn min_height_equals(&self, other: &ComputedValues) -> bool
pub fn min_height_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_min_width(&self) -> GenericSize<NonNegative<LengthPercentage>>
pub fn clone_min_width(&self) -> GenericSize<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn min_width_equals(&self, other: &ComputedValues) -> bool
pub fn min_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_width(&self) -> GenericSize<NonNegative<LengthPercentage>>
pub fn clone_width(&self) -> GenericSize<NonNegative<LengthPercentage>>
Gets the computed value of a given property.
Sourcepub fn width_equals(&self, other: &ComputedValues) -> bool
pub fn width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_bottom_width(&self) -> BorderSideWidth
pub fn clone_border_bottom_width(&self) -> BorderSideWidth
Gets the computed value of a given property.
Sourcepub fn border_bottom_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_left_width(&self) -> BorderSideWidth
pub fn clone_border_left_width(&self) -> BorderSideWidth
Gets the computed value of a given property.
Sourcepub fn border_left_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_left_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_right_width(&self) -> BorderSideWidth
pub fn clone_border_right_width(&self) -> BorderSideWidth
Gets the computed value of a given property.
Sourcepub fn border_right_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_right_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_top_width(&self) -> BorderSideWidth
pub fn clone_border_top_width(&self) -> BorderSideWidth
Gets the computed value of a given property.
Sourcepub fn border_top_width_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_outline_width(&self) -> BorderSideWidth
pub fn clone_outline_width(&self) -> BorderSideWidth
Gets the computed value of a given property.
Sourcepub fn outline_width_equals(&self, other: &ComputedValues) -> bool
pub fn outline_width_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_background_color(&self) -> GenericColor<Percentage>
pub fn clone_background_color(&self) -> GenericColor<Percentage>
Gets the computed value of a given property.
Sourcepub fn background_color_equals(&self, other: &ComputedValues) -> bool
pub fn background_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_bottom_color(&self) -> GenericColor<Percentage>
pub fn clone_border_bottom_color(&self) -> GenericColor<Percentage>
Gets the computed value of a given property.
Sourcepub fn border_bottom_color_equals(&self, other: &ComputedValues) -> bool
pub fn border_bottom_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_left_color(&self) -> GenericColor<Percentage>
pub fn clone_border_left_color(&self) -> GenericColor<Percentage>
Gets the computed value of a given property.
Sourcepub fn border_left_color_equals(&self, other: &ComputedValues) -> bool
pub fn border_left_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_right_color(&self) -> GenericColor<Percentage>
pub fn clone_border_right_color(&self) -> GenericColor<Percentage>
Gets the computed value of a given property.
Sourcepub fn border_right_color_equals(&self, other: &ComputedValues) -> bool
pub fn border_right_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_border_top_color(&self) -> GenericColor<Percentage>
pub fn clone_border_top_color(&self) -> GenericColor<Percentage>
Gets the computed value of a given property.
Sourcepub fn border_top_color_equals(&self, other: &ComputedValues) -> bool
pub fn border_top_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_outline_color(&self) -> GenericColor<Percentage>
pub fn clone_outline_color(&self) -> GenericColor<Percentage>
Gets the computed value of a given property.
Sourcepub fn outline_color_equals(&self, other: &ComputedValues) -> bool
pub fn outline_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn clone_text_decoration_color(&self) -> GenericColor<Percentage>
pub fn clone_text_decoration_color(&self) -> GenericColor<Percentage>
Gets the computed value of a given property.
Sourcepub fn text_decoration_color_equals(&self, other: &ComputedValues) -> bool
pub fn text_decoration_color_equals(&self, other: &ComputedValues) -> bool
Gets the computed value of a given property.
Sourcepub fn computed_or_resolved_value(
&self,
property_id: LonghandId,
context: Option<&mut Context<'_>>,
dest: &mut String,
) -> Result<(), Error>
pub fn computed_or_resolved_value( &self, property_id: LonghandId, context: Option<&mut Context<'_>>, dest: &mut String, ) -> Result<(), Error>
Writes the (resolved or computed) value of the given longhand as a string in dest.
TODO(emilio): We should move all the special resolution from nsComputedDOMStyle to ToResolvedValue instead.
Sourcepub fn computed_typed_value(
&self,
property_id: LonghandId,
) -> Option<TypedValue>
pub fn computed_typed_value( &self, property_id: LonghandId, ) -> Option<TypedValue>
Returns the computed value of the given longhand as a strongly-typed
TypedValue, if supported.
Sourcepub fn computed_or_resolved_declaration(
&self,
property_id: LonghandId,
context: Option<&mut Context<'_>>,
) -> PropertyDeclaration
pub fn computed_or_resolved_declaration( &self, property_id: LonghandId, context: Option<&mut Context<'_>>, ) -> PropertyDeclaration
Returns the given longhand’s resolved value as a property declaration.
Sourcepub fn resolve_color(&self, color: &GenericColor<Percentage>) -> AbsoluteColor
pub fn resolve_color(&self, color: &GenericColor<Percentage>) -> AbsoluteColor
Resolves the currentColor keyword.
Any color value from computed values (except for the ‘color’ property itself) should go through this method.
Usage example: let top_color = style.resolve_color(&style.get_border().clone_border_top_color());
Sourcepub fn transition_properties<'a>(&'a self) -> TransitionPropertyIterator<'a>
pub fn transition_properties<'a>(&'a self) -> TransitionPropertyIterator<'a>
Create a TransitionPropertyIterator for this styles transition properties.
Source§impl ComputedValues
impl ComputedValues
Sourcepub fn new(
pseudo: Option<&PseudoElement>,
custom_properties: ComputedCustomProperties,
attribute_references: Option<Box<HashMap<GenericAtomIdent<LocalNameStaticSet>, SmallVec<[GenericAtomIdent<NamespaceStaticSet>; 1]>, BuildHasherDefault<PrecomputedHasher>>>>,
writing_mode: WritingMode,
effective_zoom: Zoom,
flags: ComputedValueFlags,
rules: Option<StrongRuleNode>,
visited_style: Option<Arc<ComputedValues>>,
background: Arc<Background>,
border: Arc<Border>,
box_: Arc<Box>,
column: Arc<Column>,
counters: Arc<Counters>,
effects: Arc<Effects>,
font: Arc<Font>,
inherited_box: Arc<InheritedBox>,
inherited_table: Arc<InheritedTable>,
inherited_text: Arc<InheritedText>,
inherited_ui: Arc<InheritedUI>,
list: Arc<List>,
margin: Arc<Margin>,
outline: Arc<Outline>,
padding: Arc<Padding>,
position: Arc<Position>,
svg: Arc<SVG>,
table: Arc<Table>,
text: Arc<Text>,
ui: Arc<UI>,
) -> Arc<ComputedValues>
pub fn new( pseudo: Option<&PseudoElement>, custom_properties: ComputedCustomProperties, attribute_references: Option<Box<HashMap<GenericAtomIdent<LocalNameStaticSet>, SmallVec<[GenericAtomIdent<NamespaceStaticSet>; 1]>, BuildHasherDefault<PrecomputedHasher>>>>, writing_mode: WritingMode, effective_zoom: Zoom, flags: ComputedValueFlags, rules: Option<StrongRuleNode>, visited_style: Option<Arc<ComputedValues>>, background: Arc<Background>, border: Arc<Border>, box_: Arc<Box>, column: Arc<Column>, counters: Arc<Counters>, effects: Arc<Effects>, font: Arc<Font>, inherited_box: Arc<InheritedBox>, inherited_table: Arc<InheritedTable>, inherited_text: Arc<InheritedText>, inherited_ui: Arc<InheritedUI>, list: Arc<List>, margin: Arc<Margin>, outline: Arc<Outline>, padding: Arc<Padding>, position: Arc<Position>, svg: Arc<SVG>, table: Arc<Table>, text: Arc<Text>, ui: Arc<UI>, ) -> Arc<ComputedValues>
Create a new refcounted ComputedValues
Sourcepub fn initial_values_with_font_override(
default_font: Font,
) -> Arc<ComputedValues>
pub fn initial_values_with_font_override( default_font: Font, ) -> Arc<ComputedValues>
Get the initial computed values.
Sourcepub fn to_arc(&self) -> Arc<ComputedValues>
pub fn to_arc(&self) -> Arc<ComputedValues>
Converts the computed values to an Arc<> from a reference.
Sourcepub fn computed_value_to_string(
&self,
property: PropertyDeclarationId<'_>,
) -> String
pub fn computed_value_to_string( &self, property: PropertyDeclarationId<'_>, ) -> String
Serializes the computed value of this property as a string.
Sourcepub fn each_cached_lazy_pseudo<F>(&self, _f: F)where
F: FnMut(&ComputedValues),
pub fn each_cached_lazy_pseudo<F>(&self, _f: F)where
F: FnMut(&ComputedValues),
Calls the given function for each cached lazy pseudo-element style.
Source§impl ComputedValues
impl ComputedValues
Sourcepub fn guarantees_stacking_context(&self) -> bool
pub fn guarantees_stacking_context(&self) -> bool
Some properties establish a stacking context when they are set to a non-initial value.
In that case, the damage is only set to ServoRestyleDamage::REPAINT because we don’t
need to rebuild stacking contexts when the style changes between different non-initial
values. This function checks whether any of these properties is set to a value that
guarantees a stacking context, so that we only do the work when this changes.
Note that it’s still possible to establish a stacking context when this returns false.
Methods from Deref<Target = ComputedValuesInner>§
Sourcepub fn visited_style(&self) -> Option<&ComputedValues>
pub fn visited_style(&self) -> Option<&ComputedValues>
Returns the visited style, if any.
Sourcepub fn clone_background(&self) -> Arc<Background>
pub fn clone_background(&self) -> Arc<Background>
Clone the Background struct.
Sourcepub fn get_background(&self) -> &Background
pub fn get_background(&self) -> &Background
Get a immutable reference to the Background struct.
Sourcepub fn mutate_background(&mut self) -> &mut Background
pub fn mutate_background(&mut self) -> &mut Background
Get a mutable reference to the Background struct.
Sourcepub fn clone_border(&self) -> Arc<Border>
pub fn clone_border(&self) -> Arc<Border>
Clone the Border struct.
Sourcepub fn get_border(&self) -> &Border
pub fn get_border(&self) -> &Border
Get a immutable reference to the Border struct.
Sourcepub fn mutate_border(&mut self) -> &mut Border
pub fn mutate_border(&mut self) -> &mut Border
Get a mutable reference to the Border struct.
Sourcepub fn mutate_box(&mut self) -> &mut Box
pub fn mutate_box(&mut self) -> &mut Box
Get a mutable reference to the Box struct.
Sourcepub fn clone_column(&self) -> Arc<Column>
pub fn clone_column(&self) -> Arc<Column>
Clone the Column struct.
Sourcepub fn get_column(&self) -> &Column
pub fn get_column(&self) -> &Column
Get a immutable reference to the Column struct.
Sourcepub fn mutate_column(&mut self) -> &mut Column
pub fn mutate_column(&mut self) -> &mut Column
Get a mutable reference to the Column struct.
Sourcepub fn clone_counters(&self) -> Arc<Counters>
pub fn clone_counters(&self) -> Arc<Counters>
Clone the Counters struct.
Sourcepub fn get_counters(&self) -> &Counters
pub fn get_counters(&self) -> &Counters
Get a immutable reference to the Counters struct.
Sourcepub fn mutate_counters(&mut self) -> &mut Counters
pub fn mutate_counters(&mut self) -> &mut Counters
Get a mutable reference to the Counters struct.
Sourcepub fn clone_effects(&self) -> Arc<Effects>
pub fn clone_effects(&self) -> Arc<Effects>
Clone the Effects struct.
Sourcepub fn get_effects(&self) -> &Effects
pub fn get_effects(&self) -> &Effects
Get a immutable reference to the Effects struct.
Sourcepub fn mutate_effects(&mut self) -> &mut Effects
pub fn mutate_effects(&mut self) -> &mut Effects
Get a mutable reference to the Effects struct.
Sourcepub fn clone_font(&self) -> Arc<Font>
pub fn clone_font(&self) -> Arc<Font>
Clone the Font struct.
Sourcepub fn mutate_font(&mut self) -> &mut Font
pub fn mutate_font(&mut self) -> &mut Font
Get a mutable reference to the Font struct.
Sourcepub fn clone_inherited_box(&self) -> Arc<InheritedBox>
pub fn clone_inherited_box(&self) -> Arc<InheritedBox>
Clone the InheritedBox struct.
Sourcepub fn get_inherited_box(&self) -> &InheritedBox
pub fn get_inherited_box(&self) -> &InheritedBox
Get a immutable reference to the InheritedBox struct.
Sourcepub fn mutate_inherited_box(&mut self) -> &mut InheritedBox
pub fn mutate_inherited_box(&mut self) -> &mut InheritedBox
Get a mutable reference to the InheritedBox struct.
Sourcepub fn clone_inherited_table(&self) -> Arc<InheritedTable>
pub fn clone_inherited_table(&self) -> Arc<InheritedTable>
Clone the InheritedTable struct.
Sourcepub fn get_inherited_table(&self) -> &InheritedTable
pub fn get_inherited_table(&self) -> &InheritedTable
Get a immutable reference to the InheritedTable struct.
Sourcepub fn mutate_inherited_table(&mut self) -> &mut InheritedTable
pub fn mutate_inherited_table(&mut self) -> &mut InheritedTable
Get a mutable reference to the InheritedTable struct.
Sourcepub fn clone_inherited_text(&self) -> Arc<InheritedText>
pub fn clone_inherited_text(&self) -> Arc<InheritedText>
Clone the InheritedText struct.
Sourcepub fn get_inherited_text(&self) -> &InheritedText
pub fn get_inherited_text(&self) -> &InheritedText
Get a immutable reference to the InheritedText struct.
Sourcepub fn mutate_inherited_text(&mut self) -> &mut InheritedText
pub fn mutate_inherited_text(&mut self) -> &mut InheritedText
Get a mutable reference to the InheritedText struct.
Sourcepub fn clone_inherited_ui(&self) -> Arc<InheritedUI>
pub fn clone_inherited_ui(&self) -> Arc<InheritedUI>
Clone the InheritedUI struct.
Sourcepub fn get_inherited_ui(&self) -> &InheritedUI
pub fn get_inherited_ui(&self) -> &InheritedUI
Get a immutable reference to the InheritedUI struct.
Sourcepub fn mutate_inherited_ui(&mut self) -> &mut InheritedUI
pub fn mutate_inherited_ui(&mut self) -> &mut InheritedUI
Get a mutable reference to the InheritedUI struct.
Sourcepub fn clone_list(&self) -> Arc<List>
pub fn clone_list(&self) -> Arc<List>
Clone the List struct.
Sourcepub fn mutate_list(&mut self) -> &mut List
pub fn mutate_list(&mut self) -> &mut List
Get a mutable reference to the List struct.
Sourcepub fn clone_margin(&self) -> Arc<Margin>
pub fn clone_margin(&self) -> Arc<Margin>
Clone the Margin struct.
Sourcepub fn get_margin(&self) -> &Margin
pub fn get_margin(&self) -> &Margin
Get a immutable reference to the Margin struct.
Sourcepub fn mutate_margin(&mut self) -> &mut Margin
pub fn mutate_margin(&mut self) -> &mut Margin
Get a mutable reference to the Margin struct.
Sourcepub fn clone_outline(&self) -> Arc<Outline>
pub fn clone_outline(&self) -> Arc<Outline>
Clone the Outline struct.
Sourcepub fn get_outline(&self) -> &Outline
pub fn get_outline(&self) -> &Outline
Get a immutable reference to the Outline struct.
Sourcepub fn mutate_outline(&mut self) -> &mut Outline
pub fn mutate_outline(&mut self) -> &mut Outline
Get a mutable reference to the Outline struct.
Sourcepub fn clone_padding(&self) -> Arc<Padding>
pub fn clone_padding(&self) -> Arc<Padding>
Clone the Padding struct.
Sourcepub fn get_padding(&self) -> &Padding
pub fn get_padding(&self) -> &Padding
Get a immutable reference to the Padding struct.
Sourcepub fn mutate_padding(&mut self) -> &mut Padding
pub fn mutate_padding(&mut self) -> &mut Padding
Get a mutable reference to the Padding struct.
Sourcepub fn clone_position(&self) -> Arc<Position>
pub fn clone_position(&self) -> Arc<Position>
Clone the Position struct.
Sourcepub fn get_position(&self) -> &Position
pub fn get_position(&self) -> &Position
Get a immutable reference to the Position struct.
Sourcepub fn mutate_position(&mut self) -> &mut Position
pub fn mutate_position(&mut self) -> &mut Position
Get a mutable reference to the Position struct.
Sourcepub fn mutate_svg(&mut self) -> &mut SVG
pub fn mutate_svg(&mut self) -> &mut SVG
Get a mutable reference to the SVG struct.
Sourcepub fn clone_table(&self) -> Arc<Table>
pub fn clone_table(&self) -> Arc<Table>
Clone the Table struct.
Sourcepub fn mutate_table(&mut self) -> &mut Table
pub fn mutate_table(&mut self) -> &mut Table
Get a mutable reference to the Table struct.
Sourcepub fn clone_text(&self) -> Arc<Text>
pub fn clone_text(&self) -> Arc<Text>
Clone the Text struct.
Sourcepub fn mutate_text(&mut self) -> &mut Text
pub fn mutate_text(&mut self) -> &mut Text
Get a mutable reference to the Text struct.
Sourcepub fn rules(&self) -> &StrongRuleNode
pub fn rules(&self) -> &StrongRuleNode
Gets a reference to the rule node. Panic if no rule node exists.
Sourcepub fn ineffective_content_property(&self) -> bool
pub fn ineffective_content_property(&self) -> bool
Returns whether the “content” property for the given style is completely
ineffective, and would yield an empty ::before or ::after
pseudo-element.
Sourcepub fn can_be_fragmented(&self) -> bool
pub fn can_be_fragmented(&self) -> bool
Whether the current style or any of its ancestors is multicolumn.
Sourcepub fn is_multicol(&self) -> bool
pub fn is_multicol(&self) -> bool
Whether the current style is multicolumn.
Sourcepub fn content_inline_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn content_inline_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Get the logical computed inline size.
Sourcepub fn content_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn content_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Get the logical computed block size.
Sourcepub fn min_inline_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn min_inline_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Get the logical computed min inline size.
Sourcepub fn min_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
pub fn min_block_size(&self) -> &GenericSize<NonNegative<LengthPercentage>>
Get the logical computed min block size.
Sourcepub fn max_inline_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
pub fn max_inline_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
Get the logical computed max inline size.
Sourcepub fn max_block_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
pub fn max_block_size(&self) -> &GenericMaxSize<NonNegative<LengthPercentage>>
Get the logical computed max block size.
Sourcepub fn logical_padding(&self) -> LogicalMargin<&LengthPercentage>
pub fn logical_padding(&self) -> LogicalMargin<&LengthPercentage>
Get the logical computed padding for this writing mode.
Sourcepub fn logical_margin(&self) -> LogicalMargin<&GenericMargin<LengthPercentage>>
pub fn logical_margin(&self) -> LogicalMargin<&GenericMargin<LengthPercentage>>
Gets the logical computed margin from this style.
Sourcepub fn logical_position(
&self,
) -> LogicalMargin<&GenericInset<Percentage, LengthPercentage>>
pub fn logical_position( &self, ) -> LogicalMargin<&GenericInset<Percentage, LengthPercentage>>
Gets the logical position from this style.
Sourcepub fn overrides_transform_style(&self) -> bool
pub fn overrides_transform_style(&self) -> bool
Return true if the effects force the transform style to be Flat
Trait Implementations§
Source§impl Clone for ComputedValues
impl Clone for ComputedValues
Source§fn clone(&self) -> ComputedValues
fn clone(&self) -> ComputedValues
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ComputedValues
impl Debug for ComputedValues
Source§impl Deref for ComputedValues
Available on crate feature servo only.
impl Deref for ComputedValues
servo only.Source§type Target = ComputedValuesInner
type Target = ComputedValuesInner
Source§fn deref(&self) -> &ComputedValuesInner
fn deref(&self) -> &ComputedValuesInner
Source§impl DerefMut for ComputedValues
Available on crate feature servo only.
impl DerefMut for ComputedValues
servo only.Source§fn deref_mut(&mut self) -> &mut ComputedValuesInner
fn deref_mut(&mut self) -> &mut ComputedValuesInner
Auto Trait Implementations§
impl Freeze for ComputedValues
impl !RefUnwindSafe for ComputedValues
impl Send for ComputedValues
impl Sync for ComputedValues
impl Unpin for ComputedValues
impl UnsafeUnpin for ComputedValues
impl !UnwindSafe for ComputedValues
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more