Struct webrender_api::ImageBorder [] [src]

pub struct ImageBorder {
    pub image_key: ImageKey,
    pub patch: NinePatchDescriptor,
    pub fill: bool,
    pub outset: SideOffsets2D<f32>,
    pub repeat_horizontal: RepeatMode,
    pub repeat_vertical: RepeatMode,
}

Fields

Controls whether the center of the 9 patch image is rendered or ignored.

Trait Implementations

impl Clone for ImageBorder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ImageBorder
[src]

impl Debug for ImageBorder
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ImageBorder
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.