register_component

Function register_component 

Source
pub fn register_component<T>(component: T) -> Rc<UnsafeCell<T>>
where T: Component + 'static,
Expand description

Registers a component.