Struct rasterize::ImageRef[][src]

pub struct ImageRef<'a, P> { /* fields omitted */ }

Implementations

impl<'a, P> ImageRef<'a, P>[src]

pub fn new(shape: Shape, data: &'a [P]) -> Self[src]

Trait Implementations

impl<'a, P: Clone> Clone for ImageRef<'a, P>[src]

impl<'a, P> Image for ImageRef<'a, P>[src]

type Pixel = P

Pixel type

Auto Trait Implementations

impl<'a, P> RefUnwindSafe for ImageRef<'a, P> where
    P: RefUnwindSafe

impl<'a, P> Send for ImageRef<'a, P> where
    P: Sync

impl<'a, P> Sync for ImageRef<'a, P> where
    P: Sync

impl<'a, P> Unpin for ImageRef<'a, P>

impl<'a, P> UnwindSafe for ImageRef<'a, P> where
    P: RefUnwindSafe

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.