Enum style::values::specified::font::FontLanguageOverride [] [src]

pub enum FontLanguageOverride {
    Normal,
    Override(Box<str>),
    System(SystemFont),
}

Allows authors to explicitly specify the language system of the font, overriding the language system implied by the content language

Variants

When rendering with OpenType fonts, the content language of the element is used to infer the OpenType language system

Single three-letter case-sensitive OpenType language system tag, specifies the OpenType language system to be used instead of the language system implied by the language of the element

Use system font

Methods

impl FontLanguageOverride
[src]

[src]

Get default value with normal

[src]

Get font-language-override with system font

[src]

Get system font

Trait Implementations

impl Clone for FontLanguageOverride
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FontLanguageOverride
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for FontLanguageOverride
[src]

impl MallocSizeOf for FontLanguageOverride
[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 PartialEq for FontLanguageOverride
[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 ToCss for FontLanguageOverride
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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

impl ToComputedValue for FontLanguageOverride
[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 Parse for FontLanguageOverride
[src]

[src]

normal |