Struct style::values::generics::FontSettingTag [] [src]

pub struct FontSettingTag<T> {
    pub tag: u32,
    pub value: T,
}

A settings tag, defined by a four-character tag and a setting value

For font-feature-settings, this is a tag and an integer, for font-variation-settings this is a tag and a float

Fields

A four-character tag, packed into a u32 (one byte per character)

The value

Trait Implementations

impl<T: Clone> Clone for FontSettingTag<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for FontSettingTag<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Eq> Eq for FontSettingTag<T>
[src]

impl<T> MallocSizeOf for FontSettingTag<T> where
    T: 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<T: PartialEq> PartialEq for FontSettingTag<T>
[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<T> ToComputedValue for FontSettingTag<T> where
    T: 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<T> OneOrMoreSeparated for FontSettingTag<T>
[src]

Associated type indicating which separator is used.

impl<T: ToCss> ToCss for FontSettingTag<T>
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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

impl<T: Parse> Parse for FontSettingTag<T>
[src]

[src]