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

pub struct FamilyName {
    pub name: Atom,
    pub syntax: FamilyNameSyntax,
}

The name of a font family of choice

Fields

Name of the font family

Syntax of the font family

Trait Implementations

impl Clone for FamilyName
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FamilyName
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for FamilyName
[src]

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

FamilyName::parse is based on SingleFontFamily::parse and not the other way around because we want the former to exclude generic family keywords.

[src]

Parse a value of this type. Read more