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

pub struct Text {
    pub text_overflow: T,
    pub unicode_bidi: T,
    pub text_decoration_line: T,
}

The Text style struct.

Fields

The text-overflow computed value.

The unicode-bidi computed value.

The text-decoration-line computed value.

Methods

impl Text
[src]

[src]

Set text-overflow.

[src]

Set text-overflow from other struct.

[src]

Reset text-overflow from the initial struct.

[src]

Get the computed value for text-overflow.

[src]

Set unicode-bidi.

[src]

Set unicode-bidi from other struct.

[src]

Reset unicode-bidi from the initial struct.

[src]

Get the computed value for unicode-bidi.

[src]

Set text-decoration-line.

[src]

Set text-decoration-line from other struct.

[src]

Reset text-decoration-line from the initial struct.

[src]

Get the computed value for text-decoration-line.

[src]

Whether the text decoration has an underline.

[src]

Whether the text decoration has an overline.

[src]

Whether the text decoration has a line through.

Trait Implementations

impl Clone for Text
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Text
[src]

[src]

Formats the value using the given formatter. Read more

impl MallocSizeOf for Text
[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 Text
[src]

[src]

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

[src]

This method tests for !=.