Struct chromiumoxide::cdp::browser_protocol::css::FontFace[][src]

pub struct FontFace {
    pub font_family: String,
    pub font_style: String,
    pub font_variant: String,
    pub font_weight: String,
    pub font_stretch: String,
    pub unicode_range: String,
    pub src: String,
    pub platform_font_family: String,
    pub font_variation_axes: Option<Vec<FontVariationAxis, Global>>,
}

Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional information such as platformFontFamily and fontVariationAxes. FontFace

Fields

font_family: String

The font-family.

font_style: String

The font-style.

font_variant: String

The font-variant.

font_weight: String

The font-weight.

font_stretch: String

The font-stretch.

unicode_range: String

The unicode-range.

src: String

The src.

platform_font_family: String

The resolved platform font family

font_variation_axes: Option<Vec<FontVariationAxis, Global>>

Available variation settings (a.k.a. “axes”).

Implementations

impl FontFace[src]

impl FontFace[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for FontFace[src]

impl Debug for FontFace[src]

impl<'de> Deserialize<'de> for FontFace[src]

impl PartialEq<FontFace> for FontFace[src]

impl Serialize for FontFace[src]

impl StructuralPartialEq for FontFace[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,