Trait PathIterator

Source
pub trait PathIterator: InternalIterator<Item = PathCommand> {
    // Provided method
    fn linearize(self, epsilon: f64) -> Linearize<Self>
       where Self: Sized { ... }
}
Expand description

An extension trait for iterators over path commands.

Provided Methods§

Source

fn linearize(self, epsilon: f64) -> Linearize<Self>
where Self: Sized,

Returns an iterator over line path commands that approximate self with tolerance epsilon.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<I> PathIterator for I
where I: InternalIterator<Item = PathCommand>,