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

pub struct Padding {
    pub padding_top: T,
    pub padding_left: T,
    pub padding_bottom: T,
    pub padding_right: T,
    pub padding_block_start: T,
    pub padding_block_end: T,
    pub padding_inline_start: T,
    pub padding_inline_end: T,
}

The Padding style struct.

Fields

The padding-top computed value.

The padding-left computed value.

The padding-bottom computed value.

The padding-right computed value.

The padding-block-start computed value.

The padding-block-end computed value.

The padding-inline-start computed value.

The padding-inline-end computed value.

Methods

impl Padding
[src]

[src]

Set padding-top.

[src]

Set padding-top from other struct.

[src]

Reset padding-top from the initial struct.

[src]

Get the computed value for padding-top.

[src]

Set padding-left.

[src]

Set padding-left from other struct.

[src]

Reset padding-left from the initial struct.

[src]

Get the computed value for padding-left.

[src]

Set padding-bottom.

[src]

Set padding-bottom from other struct.

[src]

Reset padding-bottom from the initial struct.

[src]

Get the computed value for padding-bottom.

[src]

Set padding-right.

[src]

Set padding-right from other struct.

[src]

Reset padding-right from the initial struct.

[src]

Get the computed value for padding-right.

[src]

Set the appropriate physical property for padding-block-start given a writing mode.

[src]

Copy the appropriate physical property from another struct for padding-block-start given a writing mode.

[src]

Copy the appropriate physical property from another struct for padding-block-start given a writing mode.

[src]

Get the computed value for the appropriate physical property for padding-block-start given a writing mode.

[src]

Set the appropriate physical property for padding-block-end given a writing mode.

[src]

Copy the appropriate physical property from another struct for padding-block-end given a writing mode.

[src]

Copy the appropriate physical property from another struct for padding-block-end given a writing mode.

[src]

Get the computed value for the appropriate physical property for padding-block-end given a writing mode.

[src]

Set the appropriate physical property for padding-inline-start given a writing mode.

[src]

Copy the appropriate physical property from another struct for padding-inline-start given a writing mode.

[src]

Copy the appropriate physical property from another struct for padding-inline-start given a writing mode.

[src]

Get the computed value for the appropriate physical property for padding-inline-start given a writing mode.

[src]

Set the appropriate physical property for padding-inline-end given a writing mode.

[src]

Copy the appropriate physical property from another struct for padding-inline-end given a writing mode.

[src]

Copy the appropriate physical property from another struct for padding-inline-end given a writing mode.

[src]

Get the computed value for the appropriate physical property for padding-inline-end given a writing mode.

Trait Implementations

impl Clone for Padding
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Padding
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.