Struct azul_webrender_api::RectangleDisplayItem [−][src]
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
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RectangleDisplayItem
impl Send for RectangleDisplayItem
impl Sync for RectangleDisplayItem
impl Unpin for RectangleDisplayItem
impl UnwindSafe for RectangleDisplayItem
Blanket Implementations
Mutably borrows from an owned value. Read more