[][src]Struct lyon_algorithms::hatching::RegularDotPattern

pub struct RegularDotPattern<Cb: FnMut(&Dot)> {
    pub column_interval: f32,
    pub row_interval: f32,
    pub callback: Cb,
}

A DotBuilder implementation for dot patterns with constant intervals.

Fields

column_interval: f32

Minimum distance between dots in a given column.

row_interval: f32

Minimum distance between dots in a given row.

callback: Cb

A callback invoked for each dot.

Trait Implementations

impl<Cb: FnMut(&Dot)> DotBuilder for RegularDotPattern<Cb>[src]

Auto Trait Implementations

impl<Cb> RefUnwindSafe for RegularDotPattern<Cb> where
    Cb: RefUnwindSafe

impl<Cb> Send for RegularDotPattern<Cb> where
    Cb: Send

impl<Cb> Sync for RegularDotPattern<Cb> where
    Cb: Sync

impl<Cb> Unpin for RegularDotPattern<Cb> where
    Cb: Unpin

impl<Cb> UnwindSafe for RegularDotPattern<Cb> where
    Cb: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.