#[repr(u32)]
pub enum rsb_mif_t {
    RSB_MIF_INDEX_STORAGE_IN_BYTES__TO__SIZE_T,
    RSB_MIF_INDEX_STORAGE_IN_BYTES_PER_NNZ__TO__RSB_REAL_T,
    RSB_MIF_MATRIX_ROWS__TO__RSB_COO_INDEX_T,
    RSB_MIF_MATRIX_COLS__TO__RSB_COO_INDEX_T,
    RSB_MIF_MATRIX_NNZ__TO__RSB_NNZ_INDEX_T,
    RSB_MIF_TOTAL_SIZE__TO__SIZE_T,
    RSB_MIF_MATRIX_FLAGS__TO__RSB_FLAGS_T,
    RSB_MIF_MATRIX_TYPECODE__TO__RSB_TYPE_T,
    RSB_MIF_MATRIX_INFO__TO__CHAR_P,
    RSB_MIF_LEAVES_COUNT__TO__RSB_BLK_INDEX_T,
}
Expand description

\ingroup rsb_doc_misc rsb_doc_rsb \brief Flags for getting matrix information via #rsb_mtx_get_info()/#rsb_mtx_get_info_str().

Variants

RSB_MIF_INDEX_STORAGE_IN_BYTES__TO__SIZE_T

< Index storage occupation, in bytes. (size_t)

RSB_MIF_INDEX_STORAGE_IN_BYTES_PER_NNZ__TO__RSB_REAL_T

< Index storage occupation per nnz, in bytes. (#rsb_real_t)

RSB_MIF_MATRIX_ROWS__TO__RSB_COO_INDEX_T

< Rows count(#rsb_coo_idx_t)

RSB_MIF_MATRIX_COLS__TO__RSB_COO_INDEX_T

< Columns count (#rsb_coo_idx_t)

RSB_MIF_MATRIX_NNZ__TO__RSB_NNZ_INDEX_T

< Nonzeroes count (#rsb_nnz_idx_t)

RSB_MIF_TOTAL_SIZE__TO__SIZE_T

< Total size, in bytes (size_t)

RSB_MIF_MATRIX_FLAGS__TO__RSB_FLAGS_T

< Matrix flags (#rsb_flags_t)

RSB_MIF_MATRIX_TYPECODE__TO__RSB_TYPE_T

< Matrix type code (#rsb_type_t)

RSB_MIF_MATRIX_INFO__TO__CHAR_P

< Matrix info string, only for #rsb_mtx_get_info_str() (#rsb_char_t*)

RSB_MIF_LEAVES_COUNT__TO__RSB_BLK_INDEX_T

< Leaf submatrices count (#rsb_blk_idx_t)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.