Enum sixtyfps_corelib::PathData [−][src]
#[repr(C)] pub enum PathData { None, Elements(SharedVector<PathElement>), Events(SharedVector<PathEvent>, SharedVector<Point>), }
Expand description
PathData represents a path described by either high-level elements or low-level events and coordinates.
Variants
None is the variant when the path is empty.
The Elements variant is used to make a Path from shared arrays of elements.
Tuple Fields of Elements
The Events variant describes the path as a series of low-level events and associated coordinates.
Tuple Fields of Events
0: SharedVector<PathEvent>
1: SharedVector<Point>
Implementations
This function returns an iterator that allows traversing the path by means of lyon events.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PathData
impl UnwindSafe for PathData
Blanket Implementations
Mutably borrows from an owned value. Read more