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§
fn into_index(self, size: ContinentSize) -> ContinentIndex
Provided Methods§
fn into_coord(self, size: ContinentSize) -> Result<Coord>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".