pub enum DrawKind {
Fill,
Stroke,
Text,
Image,
Clip,
PopClip,
Strip,
}Expand description
The kind of a display command, used to group commands that can share one batch.
Variants§
Fill
A filled path.
Stroke
A stroked path.
Text
A text run.
Image
An image.
Clip
A clip instruction.
PopClip
A clip-restore instruction.
Strip
A filled triangle strip.
Trait Implementations§
impl Copy for DrawKind
impl Eq for DrawKind
impl StructuralPartialEq for DrawKind
Auto Trait Implementations§
impl Freeze for DrawKind
impl RefUnwindSafe for DrawKind
impl Send for DrawKind
impl Sync for DrawKind
impl Unpin for DrawKind
impl UnsafeUnpin for DrawKind
impl UnwindSafe for DrawKind
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