pub struct FontFamilies { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Expand description
Generic font families collection.
Implementations§
Source§impl FontFamilies
impl FontFamilies
pub fn builder() -> FontFamiliesBuilder
Sourcepub fn sans_serif(&self) -> Option<&String>
pub fn sans_serif(&self) -> Option<&String>
The sansSerif font-family.
Sourcepub fn pictograph(&self) -> Option<&String>
pub fn pictograph(&self) -> Option<&String>
The pictograph font-family.
Trait Implementations§
Source§impl Clone for FontFamilies
impl Clone for FontFamilies
Source§fn clone(&self) -> FontFamilies
fn clone(&self) -> FontFamilies
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 FontFamilies
impl Debug for FontFamilies
Source§impl<'de> Deserialize<'de> for FontFamilies
impl<'de> Deserialize<'de> for FontFamilies
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FontFamilies
impl RefUnwindSafe for FontFamilies
impl Send for FontFamilies
impl Sync for FontFamilies
impl Unpin for FontFamilies
impl UnwindSafe for FontFamilies
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