[−][src]Struct lyon_algorithms::walk::RegularPattern
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> RefUnwindSafe for RegularPattern<Cb> where
Cb: RefUnwindSafe,
Cb: RefUnwindSafe,
impl<Cb> Send for RegularPattern<Cb> where
Cb: Send,
Cb: Send,
impl<Cb> Sync for RegularPattern<Cb> where
Cb: Sync,
Cb: Sync,
impl<Cb> Unpin for RegularPattern<Cb> where
Cb: Unpin,
Cb: Unpin,
impl<Cb> UnwindSafe for RegularPattern<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>,