Trait libre_pvz_resources::model::MarkerRegistryExt

source ·
pub trait MarkerRegistryExt {
    // Required method
    fn register_marker<M: Component + Default>(
        &mut self,
        name: &str
    ) -> &mut Self;
}
Expand description

Extend the App for registering marker components.

Required Methods§

source

fn register_marker<M: Component + Default>(&mut self, name: &str) -> &mut Self

Register a marker component in the global registry.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MarkerRegistryExt for App

source§

fn register_marker<M: Component + Default>(&mut self, name: &str) -> &mut App

Implementors§