Struct lyon_algorithms::walk::RepeatedPattern [−][src]
pub struct RepeatedPattern<'l, Cb> { pub callback: Cb, pub intervals: &'l [f32], pub index: usize, }
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> Send for RepeatedPattern<'l, Cb> where
Cb: Send,
impl<'l, Cb> Send for RepeatedPattern<'l, Cb> where
Cb: Send,
impl<'l, Cb> Sync for RepeatedPattern<'l, Cb> where
Cb: Sync,
impl<'l, Cb> Sync for RepeatedPattern<'l, Cb> where
Cb: Sync,