Struct chrome_remote_interface_model::css::FontFace[][src]

pub struct FontFace { /* fields omitted */ }
This is supported on crate features experimental and CSS and DOM and Page only.

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.

Implementations

impl FontFace[src]

pub fn builder() -> FontFaceBuilder[src]

pub fn font_family(&self) -> &str[src]

The font-family.

pub fn font_style(&self) -> &str[src]

The font-style.

pub fn font_variant(&self) -> &str[src]

The font-variant.

pub fn font_weight(&self) -> &str[src]

The font-weight.

pub fn font_stretch(&self) -> &str[src]

The font-stretch.

pub fn unicode_range(&self) -> &str[src]

The unicode-range.

pub fn src(&self) -> &str[src]

The src.

pub fn platform_font_family(&self) -> &str[src]

The resolved platform font family

pub fn font_variation_axes(&self) -> Option<&Vec<FontVariationAxis>>[src]

Available variation settings (a.k.a. "axes").

Trait Implementations

impl Clone for FontFace[src]

impl Debug for FontFace[src]

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

impl Serialize 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> 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.