Enum style::values::specified::text::TextOverflowSide [] [src]

pub enum TextOverflowSide {
    Clip,
    Ellipsis,
    String(Box<str>),
}

A generic value for the text-overflow property.

Variants

Clip inline content.

Render ellipsis to represent clipped inline content.

Render a given string to represent clipped inline content.

Trait Implementations

impl Clone for TextOverflowSide
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TextOverflowSide
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for TextOverflowSide
[src]

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

[src]

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

[src]

This method tests for !=.

impl ToCss for TextOverflowSide
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more

impl Parse for TextOverflowSide
[src]

[src]

Parse a value of this type. Read more