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

pub struct Box {
    pub display: T,
    pub position: T,
    pub float: T,
    pub clear: T,
    pub _servo_display_for_hypothetical_box: T,
    pub vertical_align: T,
    pub _servo_overflow_clip_box: T,
    pub overflow_x: T,
    pub overflow_y: T,
    pub transition_duration: T,
    pub transition_timing_function: T,
    pub transition_property: T,
    pub transition_delay: T,
    pub animation_name: T,
    pub animation_duration: T,
    pub animation_timing_function: T,
    pub animation_iteration_count: T,
    pub animation_direction: T,
    pub animation_play_state: T,
    pub animation_fill_mode: T,
    pub animation_delay: T,
    pub transform: T,
    pub perspective: T,
    pub perspective_origin: T,
    pub backface_visibility: T,
    pub transform_style: T,
    pub transform_origin: T,
}

The Box style struct.

Fields

The display computed value.

The position computed value.

The float computed value.

The clear computed value.

The -servo-display-for-hypothetical-box computed value.

The vertical-align computed value.

The -servo-overflow-clip-box computed value.

The overflow-x computed value.

The overflow-y computed value.

The transition-duration computed value.

The transition-timing-function computed value.

The transition-property computed value.

The transition-delay computed value.

The animation-name computed value.

The animation-duration computed value.

The animation-timing-function computed value.

The animation-iteration-count computed value.

The animation-direction computed value.

The animation-play-state computed value.

The animation-fill-mode computed value.

The animation-delay computed value.

The transform computed value.

The perspective computed value.

The perspective-origin computed value.

The backface-visibility computed value.

The transform-style computed value.

The transform-origin computed value.

Methods

impl Box
[src]

[src]

Set display.

[src]

Set display from other struct.

[src]

Reset display from the initial struct.

[src]

Get the computed value for display.

[src]

Set position.

[src]

Set position from other struct.

[src]

Reset position from the initial struct.

[src]

Get the computed value for position.

[src]

Set float.

[src]

Set float from other struct.

[src]

Reset float from the initial struct.

[src]

Get the computed value for float.

[src]

Set clear.

[src]

Set clear from other struct.

[src]

Reset clear from the initial struct.

[src]

Get the computed value for clear.

[src]

Set -servo-display-for-hypothetical-box.

[src]

Set -servo-display-for-hypothetical-box from other struct.

[src]

Reset -servo-display-for-hypothetical-box from the initial struct.

[src]

Get the computed value for -servo-display-for-hypothetical-box.

[src]

Set vertical-align.

[src]

Set vertical-align from other struct.

[src]

Reset vertical-align from the initial struct.

[src]

Get the computed value for vertical-align.

[src]

Set -servo-overflow-clip-box.

[src]

Set -servo-overflow-clip-box from other struct.

[src]

Reset -servo-overflow-clip-box from the initial struct.

[src]

Get the computed value for -servo-overflow-clip-box.

[src]

Set overflow-x.

[src]

Set overflow-x from other struct.

[src]

Reset overflow-x from the initial struct.

[src]

Get the computed value for overflow-x.

[src]

Set overflow-y.

[src]

Set overflow-y from other struct.

[src]

Reset overflow-y from the initial struct.

[src]

Get the computed value for overflow-y.

[src]

Set transition-duration.

[src]

Set transition-duration from other struct.

[src]

Reset transition-duration from the initial struct.

[src]

Get the computed value for transition-duration.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set transition-timing-function.

[src]

Set transition-timing-function from other struct.

[src]

Reset transition-timing-function from the initial struct.

[src]

Get the computed value for transition-timing-function.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set transition-property.

[src]

Set transition-property from other struct.

[src]

Reset transition-property from the initial struct.

[src]

Get the computed value for transition-property.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set transition-delay.

[src]

Set transition-delay from other struct.

[src]

Reset transition-delay from the initial struct.

[src]

Get the computed value for transition-delay.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set animation-name.

[src]

Set animation-name from other struct.

[src]

Reset animation-name from the initial struct.

[src]

Get the computed value for animation-name.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set animation-duration.

[src]

Set animation-duration from other struct.

[src]

Reset animation-duration from the initial struct.

[src]

Get the computed value for animation-duration.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set animation-timing-function.

[src]

Set animation-timing-function from other struct.

[src]

Reset animation-timing-function from the initial struct.

[src]

Get the computed value for animation-timing-function.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set animation-iteration-count.

[src]

Set animation-iteration-count from other struct.

[src]

Reset animation-iteration-count from the initial struct.

[src]

Get the computed value for animation-iteration-count.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set animation-direction.

[src]

Set animation-direction from other struct.

[src]

Reset animation-direction from the initial struct.

[src]

Get the computed value for animation-direction.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set animation-play-state.

[src]

Set animation-play-state from other struct.

[src]

Reset animation-play-state from the initial struct.

[src]

Get the computed value for animation-play-state.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set animation-fill-mode.

[src]

Set animation-fill-mode from other struct.

[src]

Reset animation-fill-mode from the initial struct.

[src]

Get the computed value for animation-fill-mode.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set animation-delay.

[src]

Set animation-delay from other struct.

[src]

Reset animation-delay from the initial struct.

[src]

Get the computed value for animation-delay.

[src]

If this longhand is indexed, get the number of elements.

[src]

If this longhand is indexed, get the element at given index.

[src]

Set transform.

[src]

Set transform from other struct.

[src]

Reset transform from the initial struct.

[src]

Get the computed value for transform.

[src]

Set perspective.

[src]

Set perspective from other struct.

[src]

Reset perspective from the initial struct.

[src]

Get the computed value for perspective.

[src]

Set perspective-origin.

[src]

Set perspective-origin from other struct.

[src]

Reset perspective-origin from the initial struct.

[src]

Get the computed value for perspective-origin.

[src]

Set backface-visibility.

[src]

Set backface-visibility from other struct.

[src]

Reset backface-visibility from the initial struct.

[src]

Get the computed value for backface-visibility.

[src]

Set transform-style.

[src]

Set transform-style from other struct.

[src]

Reset transform-style from the initial struct.

[src]

Get the computed value for transform-style.

[src]

Set transform-origin.

[src]

Set transform-origin from other struct.

[src]

Reset transform-origin from the initial struct.

[src]

Get the computed value for transform-origin.

[src]

Sets the display property, but without touching __servo_display_for_hypothetical_box, except when the adjustment comes from root or item display fixups.

impl Box
[src]

Important traits for TransitionDurationIter<'a>
[src]

Iterate over the values of transition-duration.

[src]

Get a value mod index for the property transition-duration.

Important traits for TransitionTimingFunctionIter<'a>
[src]

Iterate over the values of transition-timing-function.

[src]

Get a value mod index for the property transition-timing-function.

Important traits for TransitionPropertyIter<'a>
[src]

Iterate over the values of transition-property.

[src]

Get a value mod index for the property transition-property.

Important traits for TransitionDelayIter<'a>
[src]

Iterate over the values of transition-delay.

[src]

Get a value mod index for the property transition-delay.

Important traits for AnimationNameIter<'a>
[src]

Iterate over the values of animation-name.

[src]

Get a value mod index for the property animation-name.

Important traits for AnimationDurationIter<'a>
[src]

Iterate over the values of animation-duration.

[src]

Get a value mod index for the property animation-duration.

Important traits for AnimationTimingFunctionIter<'a>
[src]

Iterate over the values of animation-timing-function.

[src]

Get a value mod index for the property animation-timing-function.

Important traits for AnimationIterationCountIter<'a>
[src]

Iterate over the values of animation-iteration-count.

[src]

Get a value mod index for the property animation-iteration-count.

Important traits for AnimationDirectionIter<'a>
[src]

Iterate over the values of animation-direction.

[src]

Get a value mod index for the property animation-direction.

Important traits for AnimationPlayStateIter<'a>
[src]

Iterate over the values of animation-play-state.

[src]

Get a value mod index for the property animation-play-state.

Important traits for AnimationFillModeIter<'a>
[src]

Iterate over the values of animation-fill-mode.

[src]

Get a value mod index for the property animation-fill-mode.

Important traits for AnimationDelayIter<'a>
[src]

Iterate over the values of animation-delay.

[src]

Get a value mod index for the property animation-delay.

[src]

Returns whether there is any animation specified with animation-name other than none.

[src]

Returns whether there are any transitions specified.

Trait Implementations

impl Clone for Box
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Box
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.