Trait SpatiallyIndexable

Source
pub trait SpatiallyIndexable {
    // Required methods
    fn x(&self) -> CoordinateType;
    fn y(&self) -> CoordinateType;
}
Expand description

Trait that enables a struct to be spatially indexed

Required Methods§

Source

fn x(&self) -> CoordinateType

Source

fn y(&self) -> CoordinateType

Implementors§