[−][src]Trait darknet::IntoCowImage
The traits converts input type to a copy-on-write image.
Required methods
pub fn into_cow_image(self) -> Cow<'a, Image>
[src]
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]
P: Pixel + 'static,
P::Subpixel: 'static,
Container: Deref<Target = [P::Subpixel]>,
P::Subpixel: ConvertSubpixel,
pub fn into_cow_image(self) -> Cow<'a, Image>
[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]
P: Pixel + 'static,
P::Subpixel: 'static,
Container: Deref<Target = [P::Subpixel]>,
P::Subpixel: ConvertSubpixel,