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

pub enum GridTemplateComponent<L, I> {
    None,
    TrackList(TrackList<L, I>),
    Subgrid(LineNameList),
}

Variants for <grid-template-rows> | <grid-template-columns> Subgrid deferred to Level 2 spec due to lack of implementation. But it's implemented in gecko, so we have to as well.

Variants

none value.

The grid <track-list>

A subgrid <line-name-list>?

Methods

impl<L, I> GridTemplateComponent<L, I>
[src]

[src]

Returns length of the s

impl GridTemplateComponent<LengthOrPercentage, Integer>
[src]

[src]

Parses a GridTemplateComponent<LengthOrPercentage> except none keyword.

Trait Implementations

impl<L: Clone, I: Clone> Clone for GridTemplateComponent<L, I>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<L: Debug, I: Debug> Debug for GridTemplateComponent<L, I>
[src]

[src]

Formats the value using the given formatter. Read more

impl<L, I> MallocSizeOf for GridTemplateComponent<L, I> where
    L: MallocSizeOf,
    I: MallocSizeOf
[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<L: PartialEq, I: PartialEq> PartialEq for GridTemplateComponent<L, I>
[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<L, I> ToComputedValue for GridTemplateComponent<L, I> where
    TrackList<L, I>: ToComputedValue<ComputedValue = TrackList<<L as ToComputedValue>::ComputedValue, <I as ToComputedValue>::ComputedValue>>,
    I: ToComputedValue,
    L: ToComputedValue
[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<L, I> ToCss for GridTemplateComponent<L, I> where
    TrackList<L, I>: ToCss
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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

impl Parse for GridTemplateComponent<LengthOrPercentage, Integer>
[src]

[src]

Parse a value of this type. Read more