pub enum Hdf5SparseDataStructure {
Coo {
rows_dataset: String,
cols_dataset: String,
values_dataset: String,
},
Csr {
row_ptr_dataset: String,
col_indices_dataset: String,
values_dataset: String,
},
Csc {
col_ptr_dataset: String,
row_indices_dataset: String,
values_dataset: String,
},
Bsr {
block_data_dataset: String,
row_ptr_dataset: String,
col_indices_dataset: String,
block_shape_dataset: String,
},
}Expand description
HDF5 data structure for different sparse formats
Variants§
Coo
COO format: separate arrays for rows, cols, values
Csr
CSR format: row pointers, column indices, values
Csc
CSC format: column pointers, row indices, values
Bsr
BSR format: block data with row/col pointers
Implementations§
Source§impl Hdf5SparseDataStructure
impl Hdf5SparseDataStructure
Sourcepub fn dataset_names(&self) -> Vec<String>
pub fn dataset_names(&self) -> Vec<String>
Get dataset names for the format
Trait Implementations§
Source§impl Clone for Hdf5SparseDataStructure
impl Clone for Hdf5SparseDataStructure
Auto Trait Implementations§
impl Freeze for Hdf5SparseDataStructure
impl RefUnwindSafe for Hdf5SparseDataStructure
impl Send for Hdf5SparseDataStructure
impl Sync for Hdf5SparseDataStructure
impl Unpin for Hdf5SparseDataStructure
impl UnsafeUnpin for Hdf5SparseDataStructure
impl UnwindSafe for Hdf5SparseDataStructure
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more