Trait cv_convert::FromCv[][src]

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<T> FromCv<&'_ Point<T, 2_usize>> for Point_<T> where
    T: Scalar + ValidPointType
[src]

impl<T> FromCv<Point<T, 2_usize>> for Point_<T> where
    T: Scalar + ValidPointType
[src]

impl<T> FromCv<&'_ Point_<T>> for Point2<T> where
    T: Scalar + ValidPointType
[src]

impl<T> FromCv<Point_<T>> for Point2<T> where
    T: Scalar + ValidPointType
[src]

impl<T> FromCv<&'_ Point<T, 3_usize>> for Point3_<T> where
    T: Scalar + ValidPoint3Type
[src]

impl<T> FromCv<Point<T, 3_usize>> for Point3_<T> where
    T: Scalar + ValidPoint3Type
[src]

impl<T> FromCv<&'_ Point3_<T>> for Point3<T> where
    T: Scalar + ValidPoint3Type
[src]

impl<T> FromCv<Point3_<T>> for Point3<T> where
    T: Scalar + ValidPoint3Type
[src]

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]

impl<A, S, D> FromCv<&'_ ArrayBase<S, D>> for Tensor where
    A: Element + Clone,
    S: RawData<Elem = A> + Data,
    D: Dimension
[src]

impl<A, S, D> FromCv<ArrayBase<S, D>> for Tensor where
    A: Element + Clone,
    S: RawData<Elem = A> + Data,
    D: Dimension
[src]

Loading content...

Implementors

Loading content...