Struct style::stylesheets::font_feature_values_rule::FFVDeclaration
[−]
[src]
pub struct FFVDeclaration<T> { pub name: Atom, pub value: T, }
A @font-feature-values block declaration.
It is <ident>: <integer>+
.
This struct can take 3 value types.
- SingleValue
is to keep just one unsigned integer value.
- PairValues
is to keep one or two unsigned integer values.
- VectorValues
is to keep a list of unsigned integer values.
Fields
name: Atom
An <ident>
for declaration name.
value: T
An <integer>+
for declaration value.
Trait Implementations
impl<T: Clone> Clone for FFVDeclaration<T>
[src]
fn clone(&self) -> FFVDeclaration<T>
[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<T: Debug> Debug for FFVDeclaration<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for FFVDeclaration<T>
[src]
fn eq(&self, __arg_0: &FFVDeclaration<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FFVDeclaration<T>) -> bool
[src]
This method tests for !=
.