Enum style::properties::longhands::display::SpecifiedValue [] [src]

pub enum SpecifiedValue {
    Inline,
    Block,
    InlineBlock,
    Table,
    InlineTable,
    TableRowGroup,
    TableHeaderGroup,
    TableFooterGroup,
    TableRow,
    TableColumnGroup,
    TableColumn,
    TableCell,
    TableCaption,
    ListItem,
    None,
    Flex,
    InlineFlex,
}

Variants

Methods

impl Display
[src]

[src]

Returns whether this "display" value is the display of a flex or grid container.

This is used to implement various style fixups.

[src]

Returns whether an element with this display type is a line participant, which means it may lay its children on the same line as itself.

[src]

Whether new_display should be ignored, given a previous old_display value.

This is used to ignore display: -moz-box declarations after an equivalent display: -webkit-box declaration, since the former has a vastly different meaning. See bug 1107378 and bug 1407701.

FIXME(emilio): This is a pretty decent hack, we should try to remove it.

[src]

Convert this display into an equivalent block display.

Also used for style adjustments.

Trait Implementations

impl Clone for SpecifiedValue
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SpecifiedValue
[src]

impl Debug for SpecifiedValue
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for SpecifiedValue
[src]

impl Hash for SpecifiedValue
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

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

[src]

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

1.0.0
[src]

This method tests for !=.

impl ToComputedValue for SpecifiedValue
[src]

The computed value type we're going to be converted to.

[src]

Convert a specified value to a computed value, using itself and the data inside the Context. Read more

[src]

Convert a computed value to specified value form. Read more

impl ToCss for SpecifiedValue
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more