Struct style::properties::ComputedValuesInner [] [src]

pub struct ComputedValuesInner {
    pub writing_mode: WritingMode,
    pub flags: ComputedValueFlags,
    pub rules: Option<StrongRuleNode>,
    // some fields omitted
}

Actual data of ComputedValues, to match up with Gecko

Fields

The writing mode of this computed values struct.

A set of flags we use to store misc information regarding this style.

The rule node representing the ordered list of rules matched for this node. Can be None for default values and text nodes. This is essentially an optimization to avoid referencing the root rule node.

Methods

impl ComputedValuesInner
[src]

[src]

Clone the Background struct.

[src]

Get a immutable reference to the Background struct.

[src]

Gets an immutable reference to the refcounted value that wraps Background.

[src]

Get a mutable reference to the Background struct.

[src]

Clone the Border struct.

[src]

Get a immutable reference to the Border struct.

[src]

Gets an immutable reference to the refcounted value that wraps Border.

[src]

Get a mutable reference to the Border struct.

[src]

Clone the Box struct.

[src]

Get a immutable reference to the Box struct.

[src]

Gets an immutable reference to the refcounted value that wraps Box.

[src]

Get a mutable reference to the Box struct.

[src]

Clone the Color struct.

[src]

Get a immutable reference to the Color struct.

[src]

Gets an immutable reference to the refcounted value that wraps Color.

[src]

Get a mutable reference to the Color struct.

[src]

Clone the Column struct.

[src]

Get a immutable reference to the Column struct.

[src]

Gets an immutable reference to the refcounted value that wraps Column.

[src]

Get a mutable reference to the Column struct.

[src]

Clone the Counters struct.

[src]

Get a immutable reference to the Counters struct.

[src]

Gets an immutable reference to the refcounted value that wraps Counters.

[src]

Get a mutable reference to the Counters struct.

[src]

Clone the Effects struct.

[src]

Get a immutable reference to the Effects struct.

[src]

Gets an immutable reference to the refcounted value that wraps Effects.

[src]

Get a mutable reference to the Effects struct.

[src]

Clone the Font struct.

[src]

Get a immutable reference to the Font struct.

[src]

Gets an immutable reference to the refcounted value that wraps Font.

[src]

Get a mutable reference to the Font struct.

[src]

Clone the InheritedBox struct.

[src]

Get a immutable reference to the InheritedBox struct.

[src]

Gets an immutable reference to the refcounted value that wraps InheritedBox.

[src]

Get a mutable reference to the InheritedBox struct.

[src]

Clone the InheritedTable struct.

[src]

Get a immutable reference to the InheritedTable struct.

[src]

Gets an immutable reference to the refcounted value that wraps InheritedTable.

[src]

Get a mutable reference to the InheritedTable struct.

[src]

Clone the InheritedText struct.

[src]

Get a immutable reference to the InheritedText struct.

[src]

Gets an immutable reference to the refcounted value that wraps InheritedText.

[src]

Get a mutable reference to the InheritedText struct.

[src]

Clone the List struct.

[src]

Get a immutable reference to the List struct.

[src]

Gets an immutable reference to the refcounted value that wraps List.

[src]

Get a mutable reference to the List struct.

[src]

Clone the Margin struct.

[src]

Get a immutable reference to the Margin struct.

[src]

Gets an immutable reference to the refcounted value that wraps Margin.

[src]

Get a mutable reference to the Margin struct.

[src]

Clone the Outline struct.

[src]

Get a immutable reference to the Outline struct.

[src]

Gets an immutable reference to the refcounted value that wraps Outline.

[src]

Get a mutable reference to the Outline struct.

[src]

Clone the Padding struct.

[src]

Get a immutable reference to the Padding struct.

[src]

Gets an immutable reference to the refcounted value that wraps Padding.

[src]

Get a mutable reference to the Padding struct.

[src]

Clone the Pointing struct.

[src]

Get a immutable reference to the Pointing struct.

[src]

Gets an immutable reference to the refcounted value that wraps Pointing.

[src]

Get a mutable reference to the Pointing struct.

[src]

Clone the Position struct.

[src]

Get a immutable reference to the Position struct.

[src]

Gets an immutable reference to the refcounted value that wraps Position.

[src]

Get a mutable reference to the Position struct.

[src]

Clone the Table struct.

[src]

Get a immutable reference to the Table struct.

[src]

Gets an immutable reference to the refcounted value that wraps Table.

[src]

Get a mutable reference to the Table struct.

[src]

Clone the Text struct.

[src]

Get a immutable reference to the Text struct.

[src]

Gets an immutable reference to the refcounted value that wraps Text.

[src]

Get a mutable reference to the Text struct.

[src]

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

[src]

Whether this style has a -moz-binding value. This is always false for Servo for obvious reasons.

[src]

Clone the visited style. Used for inheriting parent styles in StyleBuilder::for_derived_style.

[src]

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

Since this isn't supported in Servo, this is always false for Servo.

[src]

Returns whether the "content" property for the given style is completely ineffective, and would yield an empty ::before or ::after pseudo-element.

[src]

Whether the current style is multicolumn.

[src]

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.Border.border_top_color);

[src]

Get the logical computed inline size.

[src]

Get the logical computed block size.

[src]

Get the logical computed min inline size.

[src]

Get the logical computed min block size.

[src]

Get the logical computed max inline size.

[src]

Get the logical computed max block size.

[src]

Get the logical computed padding for this writing mode.

[src]

Get the logical border width

[src]

Gets the logical computed border widths for this style.

[src]

Gets the logical computed margin from this style.

[src]

Gets the logical position from this style.

[src]

Return true if the effects force the transform style to be Flat

[src]

[src]

Whether given this transform value, the compositor would require a layer.

[src]

Serializes the computed value of this property as a string.

Trait Implementations

impl Clone for ComputedValuesInner
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ComputedValuesInner
[src]

[src]

Formats the value using the given formatter. Read more