[][src]Trait shine_graph::smat::MatrixMaskExt

pub trait MatrixMaskExt: MatrixMask {
    fn get_data_position(
        &self,
        row: usize,
        column: usize
    ) -> Option<DataPosition> { ... }
fn get_column_range(&self, range: DataRange) -> Range<usize> { ... }
fn find_column_position(
        &self,
        column: usize,
        range: DataRange
    ) -> Option<DataPosition> { ... } }

Provided methods

fn get_data_position(&self, row: usize, column: usize) -> Option<DataPosition>

Return the position of the given item in the flattened array.

fn get_column_range(&self, range: DataRange) -> Range<usize>

Return the range of column indices for the given data range

fn find_column_position(
    &self,
    column: usize,
    range: DataRange
) -> Option<DataPosition>

Find the position of a column index in the given range

Loading content...

Implementors

impl<T: ?Sized> MatrixMaskExt for T where
    T: MatrixMask
[src]

fn get_data_position(&self, row: usize, column: usize) -> Option<DataPosition>[src]

fn get_column_range(&self, range: DataRange) -> Range<usize>[src]

fn find_column_position(
    &self,
    column: usize,
    range: DataRange
) -> Option<DataPosition>
[src]

Loading content...