Struct chromiumoxide_cdp::cdp::browser_protocol::page::FontFamilies
source · pub struct FontFamilies {
pub standard: Option<String>,
pub fixed: Option<String>,
pub serif: Option<String>,
pub sans_serif: Option<String>,
pub cursive: Option<String>,
pub fantasy: Option<String>,
pub math: Option<String>,
}
Expand description
Generic font families collection. FontFamilies
Fields§
§standard: Option<String>
The standard font-family.
fixed: Option<String>
The fixed font-family.
serif: Option<String>
The serif font-family.
sans_serif: Option<String>
The sansSerif font-family.
cursive: Option<String>
The cursive font-family.
fantasy: Option<String>
The fantasy font-family.
math: Option<String>
The math font-family.
Implementations§
source§impl FontFamilies
impl FontFamilies
pub fn builder() -> FontFamiliesBuilder
source§impl FontFamilies
impl FontFamilies
pub const IDENTIFIER: &'static str = "Page.FontFamilies"
Trait Implementations§
source§impl Clone for FontFamilies
impl Clone for FontFamilies
source§fn clone(&self) -> FontFamilies
fn clone(&self) -> FontFamilies
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 Debug for FontFamilies
impl Debug for FontFamilies
source§impl Default for FontFamilies
impl Default for FontFamilies
source§fn default() -> FontFamilies
fn default() -> FontFamilies
Returns the “default value” for a type. Read more
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
source§impl PartialEq for FontFamilies
impl PartialEq for FontFamilies
source§fn eq(&self, other: &FontFamilies) -> bool
fn eq(&self, other: &FontFamilies) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FontFamilies
impl Serialize for FontFamilies
impl StructuralPartialEq for FontFamilies
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