Struct style::values::generics::grid::LineNameList
[−]
[src]
pub struct LineNameList { pub names: Box<[Box<[CustomIdent]>]>, pub fill_idx: Option<u32>, }
The <line-name-list>
for subgrids.
subgrid [ <line-names> | repeat(<positive-integer> | auto-fill, <line-names>+) ]+
Old spec: https://www.w3.org/TR/2015/WD-css-grid-1-20150917/#typedef-line-name-list
Fields
names: Box<[Box<[CustomIdent]>]>
The optional <line-name-list>
fill_idx: Option<u32>
Indicates the line name that requires auto-fill
Trait Implementations
impl Clone for LineNameList
[src]
fn clone(&self) -> LineNameList
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for LineNameList
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for LineNameList
[src]
fn default() -> LineNameList
[src]
Returns the "default value" for a type. Read more
impl MallocSizeOf for LineNameList
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[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 LineNameList
[src]
fn eq(&self, __arg_0: &LineNameList) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LineNameList) -> bool
[src]
This method tests for !=
.
impl ToComputedValue for LineNameList
[src]
type ComputedValue = LineNameList
The computed value type we're going to be converted to.
fn to_computed_value(&self, _: &Context) -> Self
[src]
Convert a specified value to a computed value, using itself and the data inside the Context
. Read more
fn from_computed_value(other: &Self) -> Self
[src]
Convert a computed value to specified value form. Read more
impl Parse for LineNameList
[src]
fn parse<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
[src]
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more