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

pub struct PlatformFontUsage {
    pub family_name: String,
    pub is_custom_font: bool,
    pub glyph_count: f64,
}

Information about amount of glyphs that were rendered with given font. PlatformFontUsage

Fields

family_name: String

Font’s family name reported by platform.

is_custom_font: bool

Indicates if the font was downloaded or resolved locally.

glyph_count: f64

Amount of glyphs that were rendered with this font.

Implementations

impl PlatformFontUsage[src]

pub fn new(
    family_name: impl Into<String>,
    is_custom_font: impl Into<bool>,
    glyph_count: impl Into<f64>
) -> PlatformFontUsage
[src]

impl PlatformFontUsage[src]

impl PlatformFontUsage[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for PlatformFontUsage[src]

impl Debug for PlatformFontUsage[src]

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

impl PartialEq<PlatformFontUsage> for PlatformFontUsage[src]

impl Serialize for PlatformFontUsage[src]

impl StructuralPartialEq for PlatformFontUsage[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>,