pub struct FontUrlSource {
pub url: SpecifiedUrl,
pub format_hints: Vec<String>,
}Expand description
A UrlSource represents a font-face source that has been specified with a url() function.
Fields§
§url: SpecifiedUrlThe specified url.
format_hints: Vec<String>The format hints specified with the format() function.
Examples are “truetype”, “opentype” and “woff”
Trait Implementations§
Source§impl Clone for FontUrlSource
impl Clone for FontUrlSource
Source§fn clone(&self) -> FontUrlSource
fn clone(&self) -> FontUrlSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FontUrlSource
impl Debug for FontUrlSource
Source§impl PartialEq for FontUrlSource
impl PartialEq for FontUrlSource
Source§impl ToCss for FontUrlSource
impl ToCss for FontUrlSource
impl Eq for FontUrlSource
impl StructuralPartialEq for FontUrlSource
Auto Trait Implementations§
impl Freeze for FontUrlSource
impl RefUnwindSafe for FontUrlSource
impl Send for FontUrlSource
impl Sync for FontUrlSource
impl Unpin for FontUrlSource
impl UnwindSafe for FontUrlSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more