Struct cv::cuda::GpuMat[][src]

pub struct GpuMat {
    pub cols: c_int,
    pub rows: c_int,
    pub depth: c_int,
    // some fields omitted
}

GpuMat data structure in rust, bound to an opaque type in C/C++.

Fields

cols: c_int

Number of columns

rows: c_int

Number of rows

depth: c_int

Depth of this mat

Implementations

impl GpuMat[src]

pub fn default() -> GpuMat[src]

Creates a default GpuMat.

pub fn upload(&mut self, mat: &Mat)[src]

Uploads a normal Mat

Trait Implementations

impl Debug for GpuMat[src]

impl Drop for GpuMat[src]

impl From<GpuMat> for Mat[src]

impl From<Mat> for GpuMat[src]

Auto Trait Implementations

impl RefUnwindSafe for GpuMat

impl !Send for GpuMat

impl !Sync for GpuMat

impl Unpin for GpuMat

impl UnwindSafe for GpuMat

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, 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.