Struct chromiumoxide::cdp::browser_protocol::page::FontFamiliesBuilder
source · pub struct FontFamiliesBuilder { /* private fields */ }
Implementations§
source§impl FontFamiliesBuilder
impl FontFamiliesBuilder
pub fn standard(self, standard: impl Into<String>) -> FontFamiliesBuilder
pub fn fixed(self, fixed: impl Into<String>) -> FontFamiliesBuilder
pub fn serif(self, serif: impl Into<String>) -> FontFamiliesBuilder
pub fn sans_serif(self, sans_serif: impl Into<String>) -> FontFamiliesBuilder
pub fn cursive(self, cursive: impl Into<String>) -> FontFamiliesBuilder
pub fn fantasy(self, fantasy: impl Into<String>) -> FontFamiliesBuilder
pub fn math(self, math: impl Into<String>) -> FontFamiliesBuilder
pub fn build(self) -> FontFamilies
Trait Implementations§
source§impl Clone for FontFamiliesBuilder
impl Clone for FontFamiliesBuilder
source§fn clone(&self) -> FontFamiliesBuilder
fn clone(&self) -> FontFamiliesBuilder
Returns a copy 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 Default for FontFamiliesBuilder
impl Default for FontFamiliesBuilder
source§fn default() -> FontFamiliesBuilder
fn default() -> FontFamiliesBuilder
Returns the “default value” for a type. Read more
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)