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

pub enum FontFamily {
    Values(FontFamilyList),
    System(SystemFont),
}

Specifies a prioritized list of font family names or generic family names

Variants

List of font-family

System font

Methods

impl FontFamily
[src]

[src]

Get font-family with system font

[src]

Get system font

[src]

Parse a specified font-family value

Trait Implementations

impl Clone for FontFamily
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FontFamily
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for FontFamily
[src]

impl Hash for FontFamily
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for FontFamily
[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 ToComputedValue for FontFamily
[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 ToCss for FontFamily
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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

impl Parse for FontFamily
[src]

[src]

# = | [ + ] TODO: