[][src]Struct opencv::core::Mat_

pub struct Mat_<T> { /* fields omitted */ }

docs.opencv.org

This struct is freely convertible into and from Mat using into and try_from methods. You might want to convert Mat to Mat_ before calling typed methods (like at, data_typed) when more performance is required because this way you will skip the data type checks (still WIP, not all methods are covered).

Implementations

impl<T: DataType> Mat_<T>[src]

pub fn into_untyped(self) -> Mat[src]

pub fn as_raw_Mat_(&self) -> *const c_void[src]

pub fn as_raw_mut_Mat_(&mut self) -> *mut c_void[src]

pub fn at(&self, i0: i32) -> Result<&T>[src]

pub fn at_mut(&mut self, i0: i32) -> Result<&mut T>[src]

pub fn data_typed(&self) -> Result<&[T]>[src]

pub fn data_typed_mut(&mut self) -> Result<&mut [T]>[src]

Trait Implementations

impl<T> Boxed for Mat_<T>[src]

impl<T> Debug for Mat_<T>[src]

impl<T: DataType> From<Mat_<T>> for Mat[src]

impl<T> MatTrait for Mat_<T>[src]

impl<T: DataType> TryFrom<Mat> for Mat_<T>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<T> RefUnwindSafe for Mat_<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Mat_<T> where
    T: Send
[src]

impl<T> !Sync for Mat_<T>[src]

impl<T> Unpin for Mat_<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Mat_<T> where
    T: UnwindSafe
[src]

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.