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

pub struct Position {
    pub top: T,
    pub left: T,
    pub bottom: T,
    pub right: T,
    pub offset_block_start: T,
    pub offset_block_end: T,
    pub offset_inline_start: T,
    pub offset_inline_end: T,
    pub z_index: T,
    pub flex_direction: T,
    pub flex_wrap: T,
    pub justify_content: T,
    pub align_content: T,
    pub align_items: T,
    pub flex_grow: T,
    pub flex_shrink: T,
    pub align_self: T,
    pub order: T,
    pub flex_basis: T,
    pub width: T,
    pub min_width: T,
    pub max_width: T,
    pub height: T,
    pub min_height: T,
    pub max_height: T,
    pub block_size: T,
    pub min_block_size: T,
    pub max_block_size: T,
    pub inline_size: T,
    pub min_inline_size: T,
    pub max_inline_size: T,
    pub box_sizing: T,
}

The Position style struct.

Fields

The top computed value.

The left computed value.

The bottom computed value.

The right computed value.

The offset-block-start computed value.

The offset-block-end computed value.

The offset-inline-start computed value.

The offset-inline-end computed value.

The z-index computed value.

The flex-direction computed value.

The flex-wrap computed value.

The justify-content computed value.

The align-content computed value.

The align-items computed value.

The flex-grow computed value.

The flex-shrink computed value.

The align-self computed value.

The order computed value.

The flex-basis computed value.

The width computed value.

The min-width computed value.

The max-width computed value.

The height computed value.

The min-height computed value.

The max-height computed value.

The block-size computed value.

The min-block-size computed value.

The max-block-size computed value.

The inline-size computed value.

The min-inline-size computed value.

The max-inline-size computed value.

The box-sizing computed value.

Methods

impl Position
[src]

[src]

Set top.

[src]

Set top from other struct.

[src]

Reset top from the initial struct.

[src]

Get the computed value for top.

[src]

Set left.

[src]

Set left from other struct.

[src]

Reset left from the initial struct.

[src]

Get the computed value for left.

[src]

Set bottom.

[src]

Set bottom from other struct.

[src]

Reset bottom from the initial struct.

[src]

Get the computed value for bottom.

[src]

Set right.

[src]

Set right from other struct.

[src]

Reset right from the initial struct.

[src]

Get the computed value for right.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Set z-index.

[src]

Set z-index from other struct.

[src]

Reset z-index from the initial struct.

[src]

Get the computed value for z-index.

[src]

Set flex-direction.

[src]

Set flex-direction from other struct.

[src]

Reset flex-direction from the initial struct.

[src]

Get the computed value for flex-direction.

[src]

Set flex-wrap.

[src]

Set flex-wrap from other struct.

[src]

Reset flex-wrap from the initial struct.

[src]

Get the computed value for flex-wrap.

[src]

Set justify-content.

[src]

Set justify-content from other struct.

[src]

Reset justify-content from the initial struct.

[src]

Get the computed value for justify-content.

[src]

Set align-content.

[src]

Set align-content from other struct.

[src]

Reset align-content from the initial struct.

[src]

Get the computed value for align-content.

[src]

Set align-items.

[src]

Set align-items from other struct.

[src]

Reset align-items from the initial struct.

[src]

Get the computed value for align-items.

[src]

Set flex-grow.

[src]

Set flex-grow from other struct.

[src]

Reset flex-grow from the initial struct.

[src]

Get the computed value for flex-grow.

[src]

Set flex-shrink.

[src]

Set flex-shrink from other struct.

[src]

Reset flex-shrink from the initial struct.

[src]

Get the computed value for flex-shrink.

[src]

Set align-self.

[src]

Set align-self from other struct.

[src]

Reset align-self from the initial struct.

[src]

Get the computed value for align-self.

[src]

Set order.

[src]

Set order from other struct.

[src]

Reset order from the initial struct.

[src]

Get the computed value for order.

[src]

Set flex-basis.

[src]

Set flex-basis from other struct.

[src]

Reset flex-basis from the initial struct.

[src]

Get the computed value for flex-basis.

[src]

Set width.

[src]

Set width from other struct.

[src]

Reset width from the initial struct.

[src]

Get the computed value for width.

[src]

Set min-width.

[src]

Set min-width from other struct.

[src]

Reset min-width from the initial struct.

[src]

Get the computed value for min-width.

[src]

Set max-width.

[src]

Set max-width from other struct.

[src]

Reset max-width from the initial struct.

[src]

Get the computed value for max-width.

[src]

Set height.

[src]

Set height from other struct.

[src]

Reset height from the initial struct.

[src]

Get the computed value for height.

[src]

Set min-height.

[src]

Set min-height from other struct.

[src]

Reset min-height from the initial struct.

[src]

Get the computed value for min-height.

[src]

Set max-height.

[src]

Set max-height from other struct.

[src]

Reset max-height from the initial struct.

[src]

Get the computed value for max-height.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Set the appropriate physical property for min-block-size given a writing mode.

[src]

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

[src]

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

[src]

Get the computed value for the appropriate physical property for min-block-size given a writing mode.

[src]

Set the appropriate physical property for max-block-size given a writing mode.

[src]

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

[src]

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

[src]

Get the computed value for the appropriate physical property for max-block-size given a writing mode.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Set the appropriate physical property for min-inline-size given a writing mode.

[src]

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

[src]

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

[src]

Get the computed value for the appropriate physical property for min-inline-size given a writing mode.

[src]

Set the appropriate physical property for max-inline-size given a writing mode.

[src]

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

[src]

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

[src]

Get the computed value for the appropriate physical property for max-inline-size given a writing mode.

[src]

Set box-sizing.

[src]

Set box-sizing from other struct.

[src]

Reset box-sizing from the initial struct.

[src]

Get the computed value for box-sizing.

Trait Implementations

impl Clone for Position
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Position
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.