pub struct RadialGradientDisplayItem {
pub common: CommonItemProperties,
pub bounds: LayoutRect,
pub gradient: RadialGradient,
pub tile_size: LayoutSize,
pub tile_spacing: LayoutSize,
}
Fields§
§common: CommonItemProperties
§bounds: LayoutRect
The area to tile the gradient over (first tile starts at origin of this rect)
gradient: RadialGradient
§tile_size: LayoutSize
§tile_spacing: LayoutSize
Trait Implementations§
source§impl Clone for RadialGradientDisplayItem
impl Clone for RadialGradientDisplayItem
source§fn clone(&self) -> RadialGradientDisplayItem
fn clone(&self) -> RadialGradientDisplayItem
Returns a copy 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 RadialGradientDisplayItem
impl Debug for RadialGradientDisplayItem
source§impl Default for RadialGradientDisplayItem
impl Default for RadialGradientDisplayItem
source§fn default() -> RadialGradientDisplayItem
fn default() -> RadialGradientDisplayItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RadialGradientDisplayItem
impl<'de> Deserialize<'de> for RadialGradientDisplayItem
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 RadialGradientDisplayItem
impl PartialEq for RadialGradientDisplayItem
source§fn eq(&self, other: &RadialGradientDisplayItem) -> bool
fn eq(&self, other: &RadialGradientDisplayItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for RadialGradientDisplayItem
impl Peek for RadialGradientDisplayItem
source§impl Poke for RadialGradientDisplayItem
impl Poke for RadialGradientDisplayItem
impl Copy for RadialGradientDisplayItem
impl StructuralPartialEq for RadialGradientDisplayItem
Auto Trait Implementations§
impl Freeze for RadialGradientDisplayItem
impl RefUnwindSafe for RadialGradientDisplayItem
impl Send for RadialGradientDisplayItem
impl Sync for RadialGradientDisplayItem
impl Unpin for RadialGradientDisplayItem
impl UnwindSafe for RadialGradientDisplayItem
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