pub struct RectangleDisplayItem {
    pub common: CommonItemProperties,
    pub bounds: LayoutRect,
    pub color: PropertyBinding<ColorF>,
}Expand description
A solid or an animating color to draw (may not actually be a rectangle due to complex clips)
Fields§
§common: CommonItemProperties§bounds: LayoutRect§color: PropertyBinding<ColorF>Trait Implementations§
Source§impl Clone for RectangleDisplayItem
 
impl Clone for RectangleDisplayItem
Source§fn clone(&self) -> RectangleDisplayItem
 
fn clone(&self) -> RectangleDisplayItem
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 RectangleDisplayItem
 
impl Debug for RectangleDisplayItem
Source§impl Default for RectangleDisplayItem
 
impl Default for RectangleDisplayItem
Source§fn default() -> RectangleDisplayItem
 
fn default() -> RectangleDisplayItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RectangleDisplayItem
 
impl<'de> Deserialize<'de> for RectangleDisplayItem
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 PartialEq for RectangleDisplayItem
 
impl PartialEq for RectangleDisplayItem
Source§impl Peek for RectangleDisplayItem
 
impl Peek for RectangleDisplayItem
Source§impl Poke for RectangleDisplayItem
 
impl Poke for RectangleDisplayItem
Source§impl Serialize for RectangleDisplayItem
 
impl Serialize for RectangleDisplayItem
impl Copy for RectangleDisplayItem
impl StructuralPartialEq for RectangleDisplayItem
Auto Trait Implementations§
impl Freeze for RectangleDisplayItem
impl RefUnwindSafe for RectangleDisplayItem
impl Send for RectangleDisplayItem
impl Sync for RectangleDisplayItem
impl Unpin for RectangleDisplayItem
impl UnwindSafe for RectangleDisplayItem
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