[−][src]Trait pokemon_rust::map::coordinates::CoordinateSystem

pub trait CoordinateSystem {
    type CoordinateType;
    fn x(&self) -> Self::CoordinateType;
fn y(&self) -> Self::CoordinateType; }

Associated Types

type CoordinateType

Loading content...

Required methods

fn x(&self) -> Self::CoordinateType

fn y(&self) -> Self::CoordinateType

Loading content...

Implementors

impl CoordinateSystem for MapCoordinates[src]

type CoordinateType = u32

impl CoordinateSystem for PlayerCoordinates[src]

type CoordinateType = f32

impl CoordinateSystem for WorldCoordinates[src]

type CoordinateType = i32

Loading content...