Struct style::properties::style_structs::InheritedText [] [src]

pub struct InheritedText {
    pub line_height: T,
    pub text_transform: T,
    pub text_indent: T,
    pub overflow_wrap: T,
    pub word_break: T,
    pub text_justify: T,
    pub text_align: T,
    pub letter_spacing: T,
    pub word_spacing: T,
    pub _servo_text_decorations_in_effect: T,
    pub white_space: T,
    pub text_shadow: T,
    pub text_rendering: T,
}

The InheritedText style struct.

Fields

The line-height computed value.

The text-transform computed value.

The text-indent computed value.

The overflow-wrap computed value.

The word-break computed value.

The text-justify computed value.

The text-align computed value.

The letter-spacing computed value.

The word-spacing computed value.

The -servo-text-decorations-in-effect computed value.

The white-space computed value.

The text-shadow computed value.

The text-rendering computed value.

Methods

impl InheritedText
[src]

[src]

Set line-height.

[src]

Set line-height from other struct.

[src]

Reset line-height from the initial struct.

[src]

Get the computed value for line-height.

[src]

Set text-transform.

[src]

Set text-transform from other struct.

[src]

Reset text-transform from the initial struct.

[src]

Get the computed value for text-transform.

[src]

Set text-indent.

[src]

Set text-indent from other struct.

[src]

Reset text-indent from the initial struct.

[src]

Get the computed value for text-indent.

[src]

Set overflow-wrap.

[src]

Set overflow-wrap from other struct.

[src]

Reset overflow-wrap from the initial struct.

[src]

Get the computed value for overflow-wrap.

[src]

Set word-break.

[src]

Set word-break from other struct.

[src]

Reset word-break from the initial struct.

[src]

Get the computed value for word-break.

[src]

Set text-justify.

[src]

Set text-justify from other struct.

[src]

Reset text-justify from the initial struct.

[src]

Get the computed value for text-justify.

[src]

Set text-align.

[src]

Set text-align from other struct.

[src]

Reset text-align from the initial struct.

[src]

Get the computed value for text-align.

[src]

Set letter-spacing.

[src]

Set letter-spacing from other struct.

[src]

Reset letter-spacing from the initial struct.

[src]

Get the computed value for letter-spacing.

[src]

Set word-spacing.

[src]

Set word-spacing from other struct.

[src]

Reset word-spacing from the initial struct.

[src]

Get the computed value for word-spacing.

[src]

Set -servo-text-decorations-in-effect.

[src]

Set -servo-text-decorations-in-effect from other struct.

[src]

Reset -servo-text-decorations-in-effect from the initial struct.

[src]

Get the computed value for -servo-text-decorations-in-effect.

[src]

Set white-space.

[src]

Set white-space from other struct.

[src]

Reset white-space from the initial struct.

[src]

Get the computed value for white-space.

[src]

Set text-shadow.

[src]

Set text-shadow from other struct.

[src]

Reset text-shadow from the initial struct.

[src]

Get the computed value for text-shadow.

[src]

Set text-rendering.

[src]

Set text-rendering from other struct.

[src]

Reset text-rendering from the initial struct.

[src]

Get the computed value for text-rendering.

Trait Implementations

impl Clone for InheritedText
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for InheritedText
[src]

[src]

Formats the value using the given formatter. Read more

impl MallocSizeOf for InheritedText
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl PartialEq for InheritedText
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.