pub trait IndexedCoordinate<T>: CoordinateLike<T> {
    // Required methods
    fn get_index(&self) -> IndexType;
    fn set_index(&mut self, index: IndexType);
}
Expand description

Indicate that an object may be indexed by coordinate system T

Required Methods§

source

fn get_index(&self) -> IndexType

source

fn set_index(&mut self, index: IndexType)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: IndexedCoordinate<C>, C> IndexedCoordinate<C> for &T

source§

fn get_index(&self) -> IndexType

source§

fn set_index(&mut self, _index: IndexType)

Implementors§