Enum sixtyfps_corelib::PathData [−][src]
#[repr(C)] pub enum PathData { None, Elements(SharedVector<PathElement>), Events(SharedVector<PathEvent>, SharedVector<Point>), }
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.
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
impl PathData
[src]
impl PathData
[src]pub fn iter(self) -> PathDataIterator
[src]
This function returns an iterator that allows traversing the path by means of lyon events.
pub fn iter_fitted(self, width: f32, height: f32) -> PathDataIterator
[src]
This function returns an iterator that allows traversing the path by means of lyon events.
Trait Implementations
impl StructuralPartialEq for PathData
[src]
impl StructuralPartialEq for PathData
[src]Auto Trait Implementations
impl RefUnwindSafe for PathData
impl RefUnwindSafe for PathData
impl UnwindSafe for PathData
impl UnwindSafe for PathData