[][src]Struct azul_webrender_api::TextDisplayItem

pub struct TextDisplayItem {
    pub common: CommonItemProperties,
    pub bounds: LayoutRect,
    pub font_key: FontInstanceKey,
    pub color: ColorF,
    pub glyph_options: Option<GlyphOptions>,
}

Fields

common: CommonItemPropertiesbounds: LayoutRect

The area all the glyphs should be found in. Strictly speaking this isn't necessarily needed, but layout engines should already "know" this, and we use it cull and size things quickly before glyph layout is done. Currently the glyphs can be outside these bounds, but that should imply they can be cut off.

font_key: FontInstanceKeycolor: ColorFglyph_options: Option<GlyphOptions>

Trait Implementations

impl Clone for TextDisplayItem[src]

impl Copy for TextDisplayItem[src]

impl Debug for TextDisplayItem[src]

impl Default for TextDisplayItem[src]

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

impl PartialEq<TextDisplayItem> for TextDisplayItem[src]

impl Peek for TextDisplayItem[src]

impl Poke for TextDisplayItem[src]

impl Serialize for TextDisplayItem[src]

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