Struct rasterize::ImageOwned[][src]

pub struct ImageOwned<P> { /* fields omitted */ }

Implementations

impl<P> ImageOwned<P>[src]

pub fn new(shape: Shape, data: Vec<P>) -> Self[src]

pub fn new_default(size: Size) -> Self where
    P: Default
[src]

pub fn new_with<F>(size: Size, f: F) -> Self where
    F: FnMut(usize, usize) -> P, 
[src]

pub fn empty() -> Self[src]

pub fn into_vec(self) -> Vec<P>[src]

Trait Implementations

impl<P: Clone> Clone for ImageOwned<P>[src]

impl<P> Image for ImageOwned<P>[src]

type Pixel = P

Pixel type

impl<C> ImageMut for ImageOwned<C>[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for ImageOwned<P> where
    P: RefUnwindSafe

impl<P> Send for ImageOwned<P> where
    P: Send

impl<P> Sync for ImageOwned<P> where
    P: Sync

impl<P> Unpin for ImageOwned<P> where
    P: Unpin

impl<P> UnwindSafe for ImageOwned<P> where
    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> 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.