Trait cosmic::iced_winit::graphics::geometry::path::lyon_path::traits::PathIterator
source · pub trait PathIterator: Sized + Iterator<Item = Event<Point2D<f32, UnknownUnit>, Point2D<f32, UnknownUnit>>> {
// Provided methods
fn flattened(self, tolerance: f32) -> Flattened<Self> ⓘ { ... }
fn transformed<T>(self, mat: &T) -> Transformed<'_, Self, T> ⓘ
where T: Transformation<f32> { ... }
}
Expand description
An extension trait for PathEvent
iterators.
Provided Methods§
sourcefn flattened(self, tolerance: f32) -> Flattened<Self> ⓘ
fn flattened(self, tolerance: f32) -> Flattened<Self> ⓘ
Returns an iterator that turns curves into line segments.
sourcefn transformed<T>(self, mat: &T) -> Transformed<'_, Self, T> ⓘwhere
T: Transformation<f32>,
fn transformed<T>(self, mat: &T) -> Transformed<'_, Self, T> ⓘwhere
T: Transformation<f32>,
Returns an iterator applying a 2D transform to all of its events.
Object Safety§
This trait is not object safe.