[−][src]Trait sprs::indexing::SpIndex
A sparse matrix index
This is a convenience trait to enable using various integer sizes for sparse matrix indices.
Required methods
pub fn index(self) -> usize
[src]
pub fn try_index(self) -> Option<usize>
[src]
Try convert to usize.
pub fn index_unchecked(self) -> usize
[src]
Convert to usize without checking for overflows.
pub fn from_usize(ind: usize) -> Self
[src]
pub fn try_from_usize(ind: usize) -> Option<Self>
[src]
Try convert from usize.
pub fn from_usize_unchecked(ind: usize) -> Self
[src]
Convert from usize without checking for overflows.