Enum webrender_api::display_item::DisplayItem
source · #[repr(u8)]pub enum DisplayItem {
Show 32 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),
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)
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
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
)