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

pub struct Outline {
    pub outline_color: T,
    pub outline_style: T,
    pub outline_width: T,
    pub outline_offset: T,
}

The Outline style struct.

Fields

The outline-color computed value.

The outline-style computed value.

The outline-width computed value.

The outline-offset computed value.

Methods

impl Outline
[src]

[src]

Set outline-color.

[src]

Set outline-color from other struct.

[src]

Reset outline-color from the initial struct.

[src]

Get the computed value for outline-color.

[src]

Set outline-style.

[src]

Set outline-style from other struct.

[src]

Reset outline-style from the initial struct.

[src]

Get the computed value for outline-style.

[src]

Set outline-width.

[src]

Set outline-width from other struct.

[src]

Reset outline-width from the initial struct.

[src]

Get the computed value for outline-width.

[src]

Set outline-offset.

[src]

Set outline-offset from other struct.

[src]

Reset outline-offset from the initial struct.

[src]

Get the computed value for outline-offset.

[src]

Whether the outline-width property is non-zero.

Trait Implementations

impl Clone for Outline
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Outline
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.