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

pub struct Border {
    pub border_top_color: T,
    pub border_top_style: T,
    pub border_top_width: T,
    pub border_left_color: T,
    pub border_left_style: T,
    pub border_left_width: T,
    pub border_bottom_color: T,
    pub border_bottom_style: T,
    pub border_bottom_width: T,
    pub border_right_color: T,
    pub border_right_style: T,
    pub border_right_width: T,
    pub border_block_start_color: T,
    pub border_block_start_style: T,
    pub border_block_start_width: T,
    pub border_block_end_color: T,
    pub border_block_end_style: T,
    pub border_block_end_width: T,
    pub border_inline_start_color: T,
    pub border_inline_start_style: T,
    pub border_inline_start_width: T,
    pub border_inline_end_color: T,
    pub border_inline_end_style: T,
    pub border_inline_end_width: T,
    pub border_top_left_radius: T,
    pub border_top_right_radius: T,
    pub border_bottom_right_radius: T,
    pub border_bottom_left_radius: T,
    pub border_image_source: T,
    pub border_image_outset: T,
    pub border_image_repeat: T,
    pub border_image_width: T,
    pub border_image_slice: T,
}

The Border style struct.

Fields

The border-top-color computed value.

The border-top-style computed value.

The border-top-width computed value.

The border-left-color computed value.

The border-left-style computed value.

The border-left-width computed value.

The border-bottom-color computed value.

The border-bottom-style computed value.

The border-bottom-width computed value.

The border-right-color computed value.

The border-right-style computed value.

The border-right-width computed value.

The border-block-start-color computed value.

The border-block-start-style computed value.

The border-block-start-width computed value.

The border-block-end-color computed value.

The border-block-end-style computed value.

The border-block-end-width computed value.

The border-inline-start-color computed value.

The border-inline-start-style computed value.

The border-inline-start-width computed value.

The border-inline-end-color computed value.

The border-inline-end-style computed value.

The border-inline-end-width computed value.

The border-top-left-radius computed value.

The border-top-right-radius computed value.

The border-bottom-right-radius computed value.

The border-bottom-left-radius computed value.

The border-image-source computed value.

The border-image-outset computed value.

The border-image-repeat computed value.

The border-image-width computed value.

The border-image-slice computed value.

Methods

impl Border
[src]

[src]

Set border-top-color.

[src]

Set border-top-color from other struct.

[src]

Reset border-top-color from the initial struct.

[src]

Get the computed value for border-top-color.

[src]

Set border-top-style.

[src]

Set border-top-style from other struct.

[src]

Reset border-top-style from the initial struct.

[src]

Get the computed value for border-top-style.

[src]

Set border-top-width.

[src]

Set border-top-width from other struct.

[src]

Reset border-top-width from the initial struct.

[src]

Get the computed value for border-top-width.

[src]

Set border-left-color.

[src]

Set border-left-color from other struct.

[src]

Reset border-left-color from the initial struct.

[src]

Get the computed value for border-left-color.

[src]

Set border-left-style.

[src]

Set border-left-style from other struct.

[src]

Reset border-left-style from the initial struct.

[src]

Get the computed value for border-left-style.

[src]

Set border-left-width.

[src]

Set border-left-width from other struct.

[src]

Reset border-left-width from the initial struct.

[src]

Get the computed value for border-left-width.

[src]

Set border-bottom-color.

[src]

Set border-bottom-color from other struct.

[src]

Reset border-bottom-color from the initial struct.

[src]

Get the computed value for border-bottom-color.

[src]

Set border-bottom-style.

[src]

Set border-bottom-style from other struct.

[src]

Reset border-bottom-style from the initial struct.

[src]

Get the computed value for border-bottom-style.

[src]

Set border-bottom-width.

[src]

Set border-bottom-width from other struct.

[src]

Reset border-bottom-width from the initial struct.

[src]

Get the computed value for border-bottom-width.

[src]

Set border-right-color.

[src]

Set border-right-color from other struct.

[src]

Reset border-right-color from the initial struct.

[src]

Get the computed value for border-right-color.

[src]

Set border-right-style.

[src]

Set border-right-style from other struct.

[src]

Reset border-right-style from the initial struct.

[src]

Get the computed value for border-right-style.

[src]

Set border-right-width.

[src]

Set border-right-width from other struct.

[src]

Reset border-right-width from the initial struct.

[src]

Get the computed value for border-right-width.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Set border-top-left-radius.

[src]

Set border-top-left-radius from other struct.

[src]

Reset border-top-left-radius from the initial struct.

[src]

Get the computed value for border-top-left-radius.

[src]

Set border-top-right-radius.

[src]

Set border-top-right-radius from other struct.

[src]

Reset border-top-right-radius from the initial struct.

[src]

Get the computed value for border-top-right-radius.

[src]

Set border-bottom-right-radius.

[src]

Set border-bottom-right-radius from other struct.

[src]

Reset border-bottom-right-radius from the initial struct.

[src]

Get the computed value for border-bottom-right-radius.

[src]

Set border-bottom-left-radius.

[src]

Set border-bottom-left-radius from other struct.

[src]

Reset border-bottom-left-radius from the initial struct.

[src]

Get the computed value for border-bottom-left-radius.

[src]

Set border-image-source.

[src]

Set border-image-source from other struct.

[src]

Reset border-image-source from the initial struct.

[src]

Get the computed value for border-image-source.

[src]

Set border-image-outset.

[src]

Set border-image-outset from other struct.

[src]

Reset border-image-outset from the initial struct.

[src]

Get the computed value for border-image-outset.

[src]

Set border-image-repeat.

[src]

Set border-image-repeat from other struct.

[src]

Reset border-image-repeat from the initial struct.

[src]

Get the computed value for border-image-repeat.

[src]

Set border-image-width.

[src]

Set border-image-width from other struct.

[src]

Reset border-image-width from the initial struct.

[src]

Get the computed value for border-image-width.

[src]

Set border-image-slice.

[src]

Set border-image-slice from other struct.

[src]

Reset border-image-slice from the initial struct.

[src]

Get the computed value for border-image-slice.

[src]

Whether the border-top property has nonzero width.

[src]

Whether the border-right property has nonzero width.

[src]

Whether the border-bottom property has nonzero width.

[src]

Whether the border-left property has nonzero width.

Trait Implementations

impl Clone for Border
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Border
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.