Struct style::custom_properties::VariableValue
[−]
[src]
pub struct VariableValue { /* fields omitted */ }A value for a custom property is just a set of tokens.
We preserve the original CSS for serialization, and also the variable references to other custom property names.
Methods
impl VariableValue[src]
pub fn parse<'i, 't>(
input: &mut Parser<'i, 't>
) -> Result<Arc<Self>, ParseError<'i>>[src]
input: &mut Parser<'i, 't>
) -> Result<Arc<Self>, ParseError<'i>>
Parse a custom property value.
Trait Implementations
impl Clone for VariableValue[src]
fn clone(&self) -> VariableValue[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 VariableValue[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for VariableValue[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 VariableValue[src]
fn eq(&self, __arg_0: &VariableValue) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &VariableValue) -> bool[src]
This method tests for !=.