pub struct FontFamiliesBuilder { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Implementations§
Source§impl FontFamiliesBuilder
impl FontFamiliesBuilder
Sourcepub fn sans_serif(&mut self, v: String) -> &mut Self
pub fn sans_serif(&mut self, v: String) -> &mut Self
The sansSerif font-family.
Sourcepub fn pictograph(&mut self, v: String) -> &mut Self
pub fn pictograph(&mut self, v: String) -> &mut Self
The pictograph font-family.
pub fn build(&mut self) -> Result<FontFamilies, &'static str>
Trait Implementations§
Source§impl Clone for FontFamiliesBuilder
impl Clone for FontFamiliesBuilder
Source§fn clone(&self) -> FontFamiliesBuilder
fn clone(&self) -> FontFamiliesBuilder
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 FontFamiliesBuilder
impl Debug for FontFamiliesBuilder
Auto Trait Implementations§
impl Freeze for FontFamiliesBuilder
impl RefUnwindSafe for FontFamiliesBuilder
impl Send for FontFamiliesBuilder
impl Sync for FontFamiliesBuilder
impl Unpin for FontFamiliesBuilder
impl UnwindSafe for FontFamiliesBuilder
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