[][src]Struct nanachi::fill_color::pattern::Pattern

pub struct Pattern<P, B, DB, I> where
    P: Pixel,
    B: Buffer<P>,
    DB: Deref<Target = B>,
    I: Interpolation<P, B>, 
{ /* fields omitted */ }

Tiling an image.

Implementations

impl<P, B, DB, I> Pattern<P, B, DB, I> where
    P: Pixel,
    B: Buffer<P>,
    DB: Deref<Target = B>,
    I: Interpolation<P, B>, 
[src]

pub fn new(image: DB, interpolation: I) -> Self[src]

Trait Implementations

impl<P: Clone, B: Clone, DB: Clone, I: Clone> Clone for Pattern<P, B, DB, I> where
    P: Pixel,
    B: Buffer<P>,
    DB: Deref<Target = B>,
    I: Interpolation<P, B>, 
[src]

impl<P: Debug, B: Debug, DB: Debug, I: Debug> Debug for Pattern<P, B, DB, I> where
    P: Pixel,
    B: Buffer<P>,
    DB: Deref<Target = B>,
    I: Interpolation<P, B>, 
[src]

impl<P, B, DB, I> FillColor<P> for Pattern<P, B, DB, I> where
    P: Pixel,
    B: Buffer<P>,
    DB: Deref<Target = B>,
    I: Interpolation<P, B>, 
[src]

Auto Trait Implementations

impl<P, B, DB, I> RefUnwindSafe for Pattern<P, B, DB, I> where
    DB: RefUnwindSafe,
    I: RefUnwindSafe,
    P: RefUnwindSafe

impl<P, B, DB, I> Send for Pattern<P, B, DB, I> where
    DB: Send,
    I: Send,
    P: Send

impl<P, B, DB, I> Sync for Pattern<P, B, DB, I> where
    DB: Sync,
    I: Sync,
    P: Sync

impl<P, B, DB, I> Unpin for Pattern<P, B, DB, I> where
    DB: Unpin,
    I: Unpin,
    P: Unpin

impl<P, B, DB, I> UnwindSafe for Pattern<P, B, DB, I> where
    DB: UnwindSafe,
    I: UnwindSafe,
    P: 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> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.