Enum sixtyfps_corelib::PathData
source · [−]#[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
None is the variant when the path is empty.
Elements(SharedVector<PathElement>)
The Elements variant is used to make a Path from shared arrays of elements.
Events(SharedVector<PathEvent>, SharedVector<Point>)
The Events variant describes the path as a series of low-level events and associated coordinates.
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