pub trait RegisterInspectable {
fn register_inspectable<T: Inspectable + 'static>(&mut self) -> &mut Self;
}
Expand description
Helper trait for enabling app.register_inspectable::<T>()
Required Methods
sourcefn register_inspectable<T: Inspectable + 'static>(&mut self) -> &mut Self
fn register_inspectable<T: Inspectable + 'static>(&mut self) -> &mut Self
Register type T
so that it can be displayed by the WorldInspectorPlugin
.
Forwards to InspectableRegistry::register
.