[][src]Struct lyon_algorithms::walk::PathWalker

pub struct PathWalker<'l> { /* fields omitted */ }

A helper struct to walk along a flattened path using a builder API.

Methods

impl<'l> PathWalker<'l>[src]

pub fn new(start: f32, pattern: &'l mut dyn Pattern) -> PathWalker<'l>[src]

Trait Implementations

impl<'l> PolygonBuilder for PathWalker<'l>[src]

fn polygon(&mut self, points: &[Point])[src]

Add a closed polygon.

impl<'l> FlatPathBuilder for PathWalker<'l>[src]

fn flat_event(&mut self, event: FlattenedEvent)[src]

fn flattened(self, tolerance: f32) -> FlatteningBuilder<Self>[src]

Returns a builder that approximates all curves with sequences of line segments.

Auto Trait Implementations

impl<'l> !Send for PathWalker<'l>

impl<'l> !Sync for PathWalker<'l>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.