Enum style::values::generics::grid::TrackListType [] [src]

pub enum TrackListType {
    Auto(u16),
    Normal,
    Explicit,
}

The type of a <track-list> as determined during parsing.

https://drafts.csswg.org/css-grid/#typedef-track-list

Variants

<auto-track-list>

If this type exists, then the value at the index in line_names field in TrackList has the <line-names>? list that comes before <auto-repeat>. If it's a specified value, then the repeat() function (that follows the line names list) is also at the given index in values field. On the contrary, if it's a computed value, then the repeat() function is in the auto_repeat field.

<track-list>

<explicit-track-list>

Note that this is a subset of the normal <track-list>, and so it could be used in place of the latter.

Trait Implementations

impl Clone for TrackListType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TrackListType
[src]

impl Debug for TrackListType
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.

impl ToComputedValue for TrackListType
[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