|
/// Shorthand for `Send + Sync + 'static`, so it never needs to be implemented manually.
|
|
/* pub trait Component: Send + Sync + 'static {}
|
|
impl<T: Send + Sync + 'static> Component for T {} */
|
|
|
|
pub trait Component: 'static {
|
|
fn name() -> &'static str;
|
|
} |