CurrentDataIndex

Trait CurrentDataIndex 

Source
pub trait CurrentDataIndex: DataIndexable {
    // Provided methods
    fn get_current_data_index(&self) -> Option<&usize> { ... }
    fn set_current_data_index(&mut self, index: usize) { ... }
}

Provided Methods§

Source

fn get_current_data_index(&self) -> Option<&usize>

Get the current data index.

§Parameters
  • key - The key to look up in the index map
§Returns

The current data index as a usize.

Source

fn set_current_data_index(&mut self, index: usize)

Set the current data index.

§Parameters
  • key - The key of the index to place in the index map
  • index - The data index to set as a usize

Implementors§

Source§

impl<D, S, T, ST, SYM, VS, VT> CurrentDataIndex for Context<D, S, T, ST, SYM, VS, VT>
where D: Datable + Clone, S: Spatial<VS> + Clone, T: Temporal<VT> + Clone, ST: SpaceTemporal<VS, VT> + Clone, SYM: Symbolic + Clone, VS: Clone, VT: Clone,