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.
Fields
url: SpecifiedUrl
The specified url.
format_hints: Vec<String>
The format hints specified with the format()
function.
Trait Implementations
impl Clone for UrlSource
[src]
fn clone(&self) -> UrlSource
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for UrlSource
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for UrlSource
[src]
impl PartialEq for UrlSource
[src]
fn eq(&self, __arg_0: &UrlSource) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UrlSource) -> bool
[src]
This method tests for !=
.