[][src]Struct azul_webrender_api::RepeatingImageDisplayItem

pub struct RepeatingImageDisplayItem {
    pub common: CommonItemProperties,
    pub bounds: LayoutRect,
    pub stretch_size: LayoutSize,
    pub tile_spacing: LayoutSize,
    pub image_key: ImageKey,
    pub image_rendering: ImageRendering,
    pub alpha_type: AlphaType,
    pub color: ColorF,
}

This describes a background-image and its tiling. It repeats in a grid to fill the specified area.

Fields

common: CommonItemPropertiesbounds: LayoutRect

The area to tile the image over (first tile starts at origin of this rect)

stretch_size: LayoutSize

How large to make a single tile of the image (common case: bounds.size)

tile_spacing: LayoutSize

The space between tiles (common case: 0)

image_key: ImageKeyimage_rendering: ImageRenderingalpha_type: AlphaTypecolor: ColorF

A hack used by gecko to color a simple bitmap font used for tofu glyphs

Trait Implementations

impl Clone for RepeatingImageDisplayItem[src]

impl Copy for RepeatingImageDisplayItem[src]

impl Debug for RepeatingImageDisplayItem[src]

impl Default for RepeatingImageDisplayItem[src]

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

impl PartialEq<RepeatingImageDisplayItem> for RepeatingImageDisplayItem[src]

impl Peek for RepeatingImageDisplayItem[src]

impl Poke for RepeatingImageDisplayItem[src]

impl Serialize for RepeatingImageDisplayItem[src]

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