Enum style::font_face::Source [] [src]

pub enum Source {
    Url(UrlSource),
    Local(FamilyName),
}

A source for a font-face rule.

Variants

A url() source.

A local() source.

Trait Implementations

impl Clone for Source
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Source
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Source
[src]

impl PartialEq for Source
[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 Source
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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

impl OneOrMoreSeparated for Source
[src]

Associated type indicating which separator is used.

impl Parse for Source
[src]

[src]

Parse a value of this type. Read more