Skip to main content

init_global

Function init_global 

Source
pub fn init_global(opts: LayerOpts) -> &'static LayerOpts
Expand description

Set the process-wide LayerOpts once. Subsequent calls are silently ignored — the first call wins, matching OnceLock semantics. Returns the stored opts.