Struct webrender_api::ConicGradientDisplayItem
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)