Struct azul_webrender_api::FontInstanceData [−][src]
pub struct FontInstanceData { pub font_key: FontKey, pub size: f32, pub options: Option<FontInstanceOptions>, pub platform_options: Option<FontInstancePlatformOptions>, pub variations: Vec<FontVariation>, }
Expand description
Data corresponding to an instantiation of a font, with size and other options specified.
Note that the actual font is stored out-of-band in FontTemplate
.
Fields
font_key: FontKey
size: f32
options: Option<FontInstanceOptions>
platform_options: Option<FontInstancePlatformOptions>
variations: Vec<FontVariation>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FontInstanceData
impl Send for FontInstanceData
impl Sync for FontInstanceData
impl Unpin for FontInstanceData
impl UnwindSafe for FontInstanceData
Blanket Implementations
Mutably borrows from an owned value. Read more