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 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