Skip to main content

PreviousDataIndex

Trait PreviousDataIndex 

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

Provided Methods§

Source

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

Get the previous data index.

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

The previous data index as a usize.

Source

fn set_previous_data_index(&mut self, index: usize)

Set the current previous index.

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

Implementors§

Source§

impl<D, S, T, ST, SYM, VS, VT> PreviousDataIndex 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,