pub fn register_layout(name: impl Into<String>, layout: impl Layout + 'static)
Register a layout in the global registry.
Convenience wrapper around global_registry().write().
global_registry().write()