Skip to main content

ContinentKey

Trait ContinentKey 

Source
pub trait ContinentKey {
    // Required method
    fn into_index(self, size: ContinentSize) -> ContinentIndex;

    // Provided method
    fn into_coord(self, size: ContinentSize) -> Result<Coord>
       where Self: Sized { ... }
}

Required Methods§

Provided Methods§

Source

fn into_coord(self, size: ContinentSize) -> Result<Coord>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl ContinentKey for usize

Implementors§