pub struct Csr {
pub rows: u64,
pub cols: u64,
pub values: Vec<u8>,
pub dtype: DType,
pub logical: Option<String>,
pub indices: Vec<u64>,
pub indptr: Vec<u64>,
}Expand description
An assembled CSR object with its data-level rules checked.
Fields§
§rows: u64§cols: u64§values: Vec<u8>Decoded value bytes: nnz elements of dtype/logical.
dtype: DType§logical: Option<String>§indices: Vec<u64>Column index per value, widened to u64.
indptr: Vec<u64>Row pointers, rows + 1 entries.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Csr
impl RefUnwindSafe for Csr
impl Send for Csr
impl Sync for Csr
impl Unpin for Csr
impl UnsafeUnpin for Csr
impl UnwindSafe for Csr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more