[−][src]Struct lyon_algorithms::walk::PathWalker
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]
impl<'l> FlatPathBuilder for PathWalker<'l>[src]
fn move_to(&mut self, to: Point)[src]
fn line_to(&mut self, to: Point)[src]
fn close(&mut self)[src]
fn current_position(&self) -> Point[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> Unpin for PathWalker<'l>
impl<'l> !Sync for PathWalker<'l>
impl<'l> !UnwindSafe for PathWalker<'l>
impl<'l> !RefUnwindSafe for PathWalker<'l>
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,