[][src]Trait cv_convert::FromCv

pub trait FromCv<T> {
    fn from_cv(from: T) -> Self;
}

Type conversion that is analogous to From.

Required methods

fn from_cv(from: T) -> Self[src]

Loading content...

Implementations on Foreign Types

impl<P, Container> FromCv<&'_ ImageBuffer<P, Container>> for Tensor where
    P: Pixel + 'static,
    P::Subpixel: 'static + Element,
    Container: Deref<Target = [P::Subpixel]>, 
[src]

impl<P, Container> FromCv<ImageBuffer<P, Container>> for Tensor where
    P: Pixel + 'static,
    P::Subpixel: 'static + Element,
    Container: Deref<Target = [P::Subpixel]>, 
[src]

Loading content...

Implementors

Loading content...