pub trait LayerMissing:
IntoMessage
+ Debug
+ Send {
// Required methods
fn message_tag() -> &'static dyn MessageTag;
fn build_from(coords: WorldTileCoords, layer_name: String) -> Self
where Self: Sized;
fn coords(&self) -> WorldTileCoords;
fn layer_name(&self) -> &str;
fn to_bucket(self) -> MissingVectorLayerBucket;
}Required Methods§
fn message_tag() -> &'static dyn MessageTag
fn build_from(coords: WorldTileCoords, layer_name: String) -> Selfwhere
Self: Sized,
fn coords(&self) -> WorldTileCoords
fn layer_name(&self) -> &str
fn to_bucket(self) -> MissingVectorLayerBucket
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.