[][src]Trait darknet::IntoCowImage

pub trait IntoCowImage<'a> {
    pub fn into_cow_image(self) -> Cow<'a, Image>;
}

The traits converts input type to a copy-on-write image.

Required methods

pub fn into_cow_image(self) -> Cow<'a, Image>[src]

Loading content...

Implementations on Foreign Types

impl<'a, P, Container> IntoCowImage<'a> for &'a ImageBuffer<P, Container> where
    P: Pixel + 'static,
    P::Subpixel: 'static,
    Container: Deref<Target = [P::Subpixel]>,
    P::Subpixel: ConvertSubpixel, 
[src]

impl<'a, P, Container> IntoCowImage<'a> for ImageBuffer<P, Container> where
    P: Pixel + 'static,
    P::Subpixel: 'static,
    Container: Deref<Target = [P::Subpixel]>,
    P::Subpixel: ConvertSubpixel, 
[src]

Loading content...

Implementors

impl<'a> IntoCowImage<'a> for &'a Image[src]

impl<'a> IntoCowImage<'a> for Image[src]

Loading content...