[−][src]Enum sixtyfps_corelib::PathData
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(SharedArray<PathElement>)The Elements variant is used to make a Path from shared arrays of elements.
Events(SharedArray<PathEvent>, SharedArray<Point>)The Events variant describes the path as a series of low-level events and associated coordinates.
Implementations
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 Clone for PathData[src]
impl Debug for PathData[src]
impl Default for PathData[src]
impl PartialEq<PathData> for PathData[src]
impl StructuralPartialEq for PathData[src]
Auto Trait Implementations
impl RefUnwindSafe for PathData
impl !Send for PathData
impl !Sync for PathData
impl Unpin for PathData
impl UnwindSafe for PathData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,