pub trait MatTraitConstManual: MatTraitConst {
Show 14 methods unsafe fn at_unchecked<T: DataType>(&self, i0: i32) -> Result<&T> { ... } unsafe fn at_2d_unchecked<T: DataType>(
        &self,
        row: i32,
        col: i32
    ) -> Result<&T> { ... } unsafe fn at_pt_unchecked<T: DataType>(&self, pt: Point) -> Result<&T> { ... } unsafe fn at_3d_unchecked<T: DataType>(
        &self,
        i0: i32,
        i1: i32,
        i2: i32
    ) -> Result<&T> { ... } unsafe fn at_nd_unchecked<T: DataType>(&self, idx: &[i32]) -> Result<&T> { ... } fn at_row<T: DataType>(&self, row: i32) -> Result<&[T]> { ... } unsafe fn at_row_unchecked<T: DataType>(&self, row: i32) -> Result<&[T]> { ... } fn size(&self) -> Result<Size> { ... } fn is_allocated(&self) -> bool { ... } fn data(&self) -> *const u8 { ... } fn data_bytes(&self) -> Result<&[u8]> { ... } fn data_typed<T: DataType>(&self) -> Result<&[T]> { ... } unsafe fn data_typed_unchecked<T: DataType>(&self) -> Result<&[T]> { ... } fn to_vec_2d<T: DataType>(&self) -> Result<Vec<Vec<T>>> { ... }
}

Provided Methods

Like Mat::at() but performs no bounds or type checks

Safety

Caller must ensure that index is within Mat bounds

Like Mat::at_2d() but performs no bounds or type checks

Safety

Caller must ensure that indices are within Mat bounds

Like Mat::at_pt() but performs no bounds or type checks

Safety

Caller must ensure that point is within Mat bounds

Like Mat::at_3d() but performs no bounds or type checks

Safety

Caller must ensure that indices are within Mat bounds

Like Mat::at_nd() but performs no bounds or type checks

Safety

Caller must ensure that indices are within Mat bounds

Return a complete read-only row

Like Mat::at_row() but performs no bounds or type checks

Safety

Caller must ensure that index is within Mat bounds

Raw pointer to the underlying data array, can be NULL

Returns underlying data array as byte slice, Mat must be continuous.

Safety

Caller must ensure that the T type argument corresponds to the data stored in the Mat

Implementors