pub struct ConicGradientDisplayItem {
pub common: CommonItemProperties,
pub bounds: LayoutRect,
pub gradient: ConicGradient,
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: ConicGradient
§tile_size: LayoutSize
§tile_spacing: LayoutSize
Trait Implementations§
Source§impl Clone for ConicGradientDisplayItem
impl Clone for ConicGradientDisplayItem
Source§fn clone(&self) -> ConicGradientDisplayItem
fn clone(&self) -> ConicGradientDisplayItem
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 ConicGradientDisplayItem
impl Debug for ConicGradientDisplayItem
Source§impl Default for ConicGradientDisplayItem
impl Default for ConicGradientDisplayItem
Source§fn default() -> ConicGradientDisplayItem
fn default() -> ConicGradientDisplayItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConicGradientDisplayItem
impl<'de> Deserialize<'de> for ConicGradientDisplayItem
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 ConicGradientDisplayItem
impl PartialEq for ConicGradientDisplayItem
Source§impl Peek for ConicGradientDisplayItem
impl Peek for ConicGradientDisplayItem
Source§impl Poke for ConicGradientDisplayItem
impl Poke for ConicGradientDisplayItem
Source§impl Serialize for ConicGradientDisplayItem
impl Serialize for ConicGradientDisplayItem
impl Copy for ConicGradientDisplayItem
impl StructuralPartialEq for ConicGradientDisplayItem
Auto Trait Implementations§
impl Freeze for ConicGradientDisplayItem
impl RefUnwindSafe for ConicGradientDisplayItem
impl Send for ConicGradientDisplayItem
impl Sync for ConicGradientDisplayItem
impl Unpin for ConicGradientDisplayItem
impl UnwindSafe for ConicGradientDisplayItem
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