Trait TileTessellated

Source
pub trait TileTessellated:
    IntoMessage
    + Debug
    + Send {
    // Required methods
    fn message_tag() -> &'static dyn MessageTag;
    fn build_from(coords: WorldTileCoords) -> Self
       where Self: Sized;
    fn coords(&self) -> WorldTileCoords;
}

Required Methods§

Source

fn message_tag() -> &'static dyn MessageTag

Source

fn build_from(coords: WorldTileCoords) -> Self
where Self: Sized,

Source

fn coords(&self) -> WorldTileCoords

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§