#[repr(u32)]pub enum PathEvent {
Begin = 0,
Line = 1,
Quadratic = 2,
Cubic = 3,
EndOpen = 4,
EndClosed = 5,
}
Expand description
PathEvent is a low-level data structure describing the composition of a path. Typically it is generated at compile time from a higher-level description, such as SVG commands.
Variants§
Begin = 0
The beginning of the path.
Line = 1
A straight line on the path.
Quadratic = 2
A quadratic bezier curve on the path.
Cubic = 3
A cubic bezier curve on the path.
EndOpen = 4
The end of the path that remains open.
EndClosed = 5
The end of a path that is closed.
Trait Implementations§
impl Copy for PathEvent
impl Eq for PathEvent
impl StructuralPartialEq for PathEvent
Auto Trait Implementations§
impl Freeze for PathEvent
impl RefUnwindSafe for PathEvent
impl Send for PathEvent
impl Sync for PathEvent
impl Unpin for PathEvent
impl UnwindSafe for PathEvent
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,
Converts the given value to a
SharedString
.