Component

Trait Component 

Source
pub trait Component {
    const NAME: &'static str;
}
Expand description

Component trait, simply provides name for component generic methods

Required Associated Constants§

Source

const NAME: &'static str

Name of the component

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§

Source§

impl Component for RendererComponent

Source§

const NAME: &'static str = "renderer"