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,
}Expand description
This describes a background-image and its tiling. It repeats in a grid to fill the specified area.
Fields§
§common: CommonItemProperties§bounds: LayoutRectThe area to tile the image over (first tile starts at origin of this rect)
stretch_size: LayoutSizeHow large to make a single tile of the image (common case: bounds.size)
tile_spacing: LayoutSizeThe space between tiles (common case: 0)
image_key: ImageKey§image_rendering: ImageRendering§alpha_type: AlphaType§color: ColorFA hack used by gecko to color a simple bitmap font used for tofu glyphs
Trait Implementations§
Source§impl Clone for RepeatingImageDisplayItem
 
impl Clone for RepeatingImageDisplayItem
Source§fn clone(&self) -> RepeatingImageDisplayItem
 
fn clone(&self) -> RepeatingImageDisplayItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for RepeatingImageDisplayItem
 
impl Debug for RepeatingImageDisplayItem
Source§impl Default for RepeatingImageDisplayItem
 
impl Default for RepeatingImageDisplayItem
Source§fn default() -> RepeatingImageDisplayItem
 
fn default() -> RepeatingImageDisplayItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepeatingImageDisplayItem
 
impl<'de> Deserialize<'de> for RepeatingImageDisplayItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Peek for RepeatingImageDisplayItem
 
impl Peek for RepeatingImageDisplayItem
Source§impl Poke for RepeatingImageDisplayItem
 
impl Poke for RepeatingImageDisplayItem
impl Copy for RepeatingImageDisplayItem
impl StructuralPartialEq for RepeatingImageDisplayItem
Auto Trait Implementations§
impl Freeze for RepeatingImageDisplayItem
impl RefUnwindSafe for RepeatingImageDisplayItem
impl Send for RepeatingImageDisplayItem
impl Sync for RepeatingImageDisplayItem
impl Unpin for RepeatingImageDisplayItem
impl UnwindSafe for RepeatingImageDisplayItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more