[][src]Struct azul_webrender_api::FontInstanceOptions

#[repr(C)]pub struct FontInstanceOptions {
    pub render_mode: FontRenderMode,
    pub flags: FontInstanceFlags,
    pub bg_color: ColorU,
    pub synthetic_italics: SyntheticItalics,
}

Fields

render_mode: FontRenderModeflags: FontInstanceFlagsbg_color: ColorU

When bg_color.a is != 0 and render_mode is FontRenderMode::Subpixel, the text will be rendered with bg_color.r/g/b as an opaque estimated background color.

synthetic_italics: SyntheticItalics

Trait Implementations

impl Clone for FontInstanceOptions[src]

impl Copy for FontInstanceOptions[src]

impl Debug for FontInstanceOptions[src]

impl Default for FontInstanceOptions[src]

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

impl Eq for FontInstanceOptions[src]

impl Hash for FontInstanceOptions[src]

impl Ord for FontInstanceOptions[src]

impl PartialEq<FontInstanceOptions> for FontInstanceOptions[src]

impl PartialOrd<FontInstanceOptions> for FontInstanceOptions[src]

impl Serialize for FontInstanceOptions[src]

impl StructuralEq for FontInstanceOptions[src]

impl StructuralPartialEq for FontInstanceOptions[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.