Struct lyon_algorithms::walk::RegularPattern [−][src]
pub struct RegularPattern<Cb> {
pub callback: Cb,
pub interval: f32,
}A simple pattern that invokes a callback at regular intervals.
If the callback returns false, path walking stops.
Fields
callback: Cb
The function to call at each step.
interval: f32
A constant interval between each step.
Trait Implementations
Auto Trait Implementations
impl<Cb> Send for RegularPattern<Cb> where
Cb: Send,
impl<Cb> Send for RegularPattern<Cb> where
Cb: Send, impl<Cb> Sync for RegularPattern<Cb> where
Cb: Sync,
impl<Cb> Sync for RegularPattern<Cb> where
Cb: Sync,