Enum pdfium_render::font::PdfFontWeight
source · pub enum PdfFontWeight {
Weight100,
Weight200,
Weight300,
Weight400Normal,
Weight500,
Weight600,
Weight700Bold,
Weight800,
Weight900,
Custom(u32),
}Expand description
The weight of a PdfFont. Typical values are 400 (normal) and 700 (bold).
Variants§
Weight100
Weight200
Weight300
Weight400Normal
Weight500
Weight600
Weight700Bold
Weight800
Weight900
Custom(u32)
Any font weight value that falls outside the typical 100 - 900 value range.
Trait Implementations§
source§impl Clone for PdfFontWeight
impl Clone for PdfFontWeight
source§fn clone(&self) -> PdfFontWeight
fn clone(&self) -> PdfFontWeight
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 PdfFontWeight
impl Debug for PdfFontWeight
source§impl PartialEq<PdfFontWeight> for PdfFontWeight
impl PartialEq<PdfFontWeight> for PdfFontWeight
source§fn eq(&self, other: &PdfFontWeight) -> bool
fn eq(&self, other: &PdfFontWeight) -> bool
This method tests for
self and other values to be equal, and is used
by ==.