pub enum DrawEntry {
Rect(Arc<Node>),
Shadow(Arc<Node>),
Border(Arc<Node>),
Outline(Arc<Node>),
Text(Arc<Node>),
Image(Arc<Node>),
Svg(Arc<Node>),
PushClip(ClipShape),
PopClip,
}Expand description
One drawable entry produced during extract, sorted by PaintOrder before tree assembly.
Variants§
Rect(Arc<Node>)
Rect leaf.
Shadow(Arc<Node>)
Shadow leaf.
Border(Arc<Node>)
Border leaf.
Outline(Arc<Node>)
Outline leaf.
Text(Arc<Node>)
Text leaf.
Image(Arc<Node>)
Image leaf.
Svg(Arc<Node>)
Svg leaf.
PushClip(ClipShape)
Push-clip marker - pairs with a later DrawEntry::PopClip at the same logical depth.
PopClip
Pop-clip marker - matches the most recent DrawEntry::PushClip.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DrawEntry
impl !RefUnwindSafe for DrawEntry
impl Send for DrawEntry
impl Sync for DrawEntry
impl Unpin for DrawEntry
impl UnsafeUnpin for DrawEntry
impl !UnwindSafe for DrawEntry
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,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.