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
image_key: ImageKey
patch: NinePatchDescriptor
fill: bool
Controls whether the center of the 9 patch image is rendered or ignored.
outset: SideOffsets2D<f32>
repeat_horizontal: RepeatMode
repeat_vertical: RepeatMode
Trait Implementations
impl Clone for ImageBorder[src]
fn clone(&self) -> ImageBorder[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for ImageBorder[src]
impl Debug for ImageBorder[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for ImageBorder[src]
fn eq(&self, __arg_0: &ImageBorder) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ImageBorder) -> bool[src]
This method tests for !=.