Struct style::font_face::UrlSource [] [src]

pub struct UrlSource {
    pub url: SpecifiedUrl,
    pub format_hints: Vec<String>,
}

A UrlSource represents a font-face source that has been specified with a url() function.

https://drafts.csswg.org/css-fonts/#src-desc

Fields

The specified url.

The format hints specified with the format() function.

Trait Implementations

impl Clone for UrlSource
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UrlSource
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for UrlSource
[src]

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

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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