#[repr(u8)]pub enum DisplayItem {
Show 34 variants
Rectangle(RectangleDisplayItem),
ClearRectangle(ClearRectangleDisplayItem),
HitTest(HitTestDisplayItem),
Text(TextDisplayItem),
Line(LineDisplayItem),
Border(BorderDisplayItem),
BoxShadow(BoxShadowDisplayItem),
PushShadow(PushShadowDisplayItem),
Gradient(GradientDisplayItem),
RadialGradient(RadialGradientDisplayItem),
ConicGradient(ConicGradientDisplayItem),
Image(ImageDisplayItem),
RepeatingImage(RepeatingImageDisplayItem),
YuvImage(YuvImageDisplayItem),
BackdropFilter(BackdropFilterDisplayItem),
RectClip(RectClipDisplayItem),
RoundedRectClip(RoundedRectClipDisplayItem),
ImageMaskClip(ImageMaskClipDisplayItem),
ClipChain(ClipChainItem),
ScrollFrame(ScrollFrameDisplayItem),
StickyFrame(StickyFrameDisplayItem),
Iframe(IframeDisplayItem),
PushReferenceFrame(ReferenceFrameDisplayListItem),
PushStackingContext(PushStackingContextDisplayItem),
SetGradientStops,
SetFilterOps,
SetFilterData,
SetFilterPrimitives,
SetPoints,
PopReferenceFrame,
PopStackingContext,
PopAllShadows,
ReuseItems(ItemKey),
RetainedItems(ItemKey),
}
Variants§
Rectangle(RectangleDisplayItem)
ClearRectangle(ClearRectangleDisplayItem)
HitTest(HitTestDisplayItem)
Text(TextDisplayItem)
Line(LineDisplayItem)
Border(BorderDisplayItem)
BoxShadow(BoxShadowDisplayItem)
PushShadow(PushShadowDisplayItem)
Gradient(GradientDisplayItem)
RadialGradient(RadialGradientDisplayItem)
ConicGradient(ConicGradientDisplayItem)
Image(ImageDisplayItem)
RepeatingImage(RepeatingImageDisplayItem)
YuvImage(YuvImageDisplayItem)
BackdropFilter(BackdropFilterDisplayItem)
RectClip(RectClipDisplayItem)
RoundedRectClip(RoundedRectClipDisplayItem)
ImageMaskClip(ImageMaskClipDisplayItem)
ClipChain(ClipChainItem)
ScrollFrame(ScrollFrameDisplayItem)
StickyFrame(StickyFrameDisplayItem)
Iframe(IframeDisplayItem)
PushReferenceFrame(ReferenceFrameDisplayListItem)
PushStackingContext(PushStackingContextDisplayItem)
SetGradientStops
SetFilterOps
SetFilterData
SetFilterPrimitives
SetPoints
PopReferenceFrame
PopStackingContext
PopAllShadows
ReuseItems(ItemKey)
RetainedItems(ItemKey)
Implementations§
Source§impl DisplayItem
impl DisplayItem
pub fn debug_name(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DisplayItem
impl Clone for DisplayItem
Source§fn clone(&self) -> DisplayItem
fn clone(&self) -> DisplayItem
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 DisplayItem
impl Debug for DisplayItem
Source§impl Default for DisplayItem
impl Default for DisplayItem
Source§impl<'de> Deserialize<'de> for DisplayItem
impl<'de> Deserialize<'de> for DisplayItem
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 DisplayItem
impl PartialEq for DisplayItem
Source§impl Peek for DisplayItem
impl Peek for DisplayItem
Source§impl Poke for DisplayItem
impl Poke for DisplayItem
Source§impl Serialize for DisplayItem
impl Serialize for DisplayItem
impl Copy for DisplayItem
impl StructuralPartialEq for DisplayItem
Auto Trait Implementations§
impl Freeze for DisplayItem
impl RefUnwindSafe for DisplayItem
impl Send for DisplayItem
impl Sync for DisplayItem
impl Unpin for DisplayItem
impl UnwindSafe for DisplayItem
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