Struct style::values::computed::font::FontFamily [] [src]

pub struct FontFamily(pub FontFamilyList);

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

Methods

impl FontFamily
[src]

[src]

Get default font family as serif which is a generic font-family

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 MallocSizeOf for FontFamily
[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 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