Struct cdp::css::PlatformFontUsage
[−]
[src]
pub struct PlatformFontUsage<'a> { pub family_name: Cow<'a, str>, pub is_custom_font: bool, pub glyph_count: f64, }
[Experimental] Information about amount of glyphs that were rendered with given font.
Fields
family_name: Cow<'a, str>
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.
Trait Implementations
impl<'a> Clone for PlatformFontUsage<'a>
[src]
fn clone(&self) -> PlatformFontUsage<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for PlatformFontUsage<'a>
[src]
impl<'a> PartialEq for PlatformFontUsage<'a>
[src]
fn eq(&self, __arg_0: &PlatformFontUsage<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PlatformFontUsage<'a>) -> bool
[src]
This method tests for !=
.