Skip to main content

register_layout

Function register_layout 

Source
pub fn register_layout(name: impl Into<String>, layout: impl Layout + 'static)
Expand description

Register a layout in the global registry.

Convenience wrapper around global_registry().write().