[−][src]Struct cv::cuda::GpuMat
GpuMat data structure in rust, bound to an opaque type in C/C++.
Fields
inner: *mut CGpuMatThe pointer to the opaque C/C++ data structure
cols: i32Number of columns
rows: i32Number of rows
depth: i32Depth of this mat
Methods
impl GpuMat[src]
pub fn default() -> GpuMat[src]
Creates a default GpuMat.
pub fn from_raw(inner: *mut CGpuMat) -> GpuMat[src]
Creates a GpuMat from raw pointer.
pub fn upload(&mut self, mat: &Mat)[src]
Uploads a normal Mat
Trait Implementations
impl From<GpuMat> for Mat[src]
impl From<Mat> for GpuMat[src]
impl Drop for GpuMat[src]
impl Debug for GpuMat[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,