Enum style::values::computed::font::SingleFontFamily [] [src]

pub enum SingleFontFamily {
    FamilyName(FamilyName),
    Generic(Atom),
}

A set of faces that vary in weight, width or slope.

Variants

The name of a font family of choice.

Generic family name.

Methods

impl SingleFontFamily
[src]

[src]

Get font family name as Atom

[src]

Get font family name

[src]

Get the corresponding font-family with Atom

[src]

Parse a font-family value

Trait Implementations

impl Clone for SingleFontFamily
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SingleFontFamily
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for SingleFontFamily
[src]

impl Hash for SingleFontFamily
[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 MallocSizeOf for SingleFontFamily
[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 SingleFontFamily
[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 SingleFontFamily
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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