Struct apriltag_sys::matd_t

source ·
#[repr(C)]
pub struct matd_t { pub nrows: c_uint, pub ncols: c_uint, pub data: __IncompleteArrayField<f64>, }
Expand description

Defines a matrix structure for holding double-precision values with data in row-major order (i.e. index = row*ncols + col).

nrows and ncols are 1-based counts with the exception that a scalar (non-matrix) is represented with nrows=0 and/or ncols=0.

Fields§

§nrows: c_uint§ncols: c_uint§data: __IncompleteArrayField<f64>

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.