[−][src]Struct lyon_algorithms::walk::RepeatedPattern
A pattern that invokes a callback at a repeated sequence of constant intervals.
If the callback returns false, path walking stops.
Fields
callback: Cb
The function to call at each step.
intervals: &'l [f32]
The repeated interval sequence.
index: usize
The index of the next interval in the sequence.
Trait Implementations
Auto Trait Implementations
impl<'l, Cb> RefUnwindSafe for RepeatedPattern<'l, Cb> where
Cb: RefUnwindSafe,
Cb: RefUnwindSafe,
impl<'l, Cb> Send for RepeatedPattern<'l, Cb> where
Cb: Send,
Cb: Send,
impl<'l, Cb> Sync for RepeatedPattern<'l, Cb> where
Cb: Sync,
Cb: Sync,
impl<'l, Cb> Unpin for RepeatedPattern<'l, Cb> where
Cb: Unpin,
Cb: Unpin,
impl<'l, Cb> UnwindSafe for RepeatedPattern<'l, Cb> where
Cb: UnwindSafe,
Cb: UnwindSafe,
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,
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<Cb> Pattern for Cb where
Cb: FnMut(Point2D<f32, UnknownUnit>, Vector2D<f32, UnknownUnit>, f32) -> Option<f32>,
[src]
Cb: FnMut(Point2D<f32, UnknownUnit>, Vector2D<f32, UnknownUnit>, f32) -> Option<f32>,
fn next(
&mut Self,
Point2D<f32, UnknownUnit>,
Vector2D<f32, UnknownUnit>,
f32
) -> Option<f32>
[src]
&mut Self,
Point2D<f32, UnknownUnit>,
Vector2D<f32, UnknownUnit>,
f32
) -> Option<f32>
fn begin(&mut self, distance: f32) -> Option<f32>
[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.
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>,