Struct gapi_grpc::google::cloud::documentai::v1beta3::document::page::Matrix[][src]

pub struct Matrix {
    pub rows: i32,
    pub cols: i32,
    pub type: i32,
    pub data: Vec<u8>,
}

Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.

Fields

rows: i32

Number of rows in the matrix.

cols: i32

Number of columns in the matrix.

type: i32

This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html

data: Vec<u8>

The matrix data.

Trait Implementations

impl Clone for Matrix[src]

impl Debug for Matrix[src]

impl Default for Matrix[src]

impl Message for Matrix[src]

impl PartialEq<Matrix> for Matrix[src]

impl StructuralPartialEq for Matrix[src]

Auto Trait Implementations

impl RefUnwindSafe for Matrix

impl Send for Matrix

impl Sync for Matrix

impl Unpin for Matrix

impl UnwindSafe for Matrix

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> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]