Function once_cell_set
pub fn once_cell_set<T>(value: T) -> OnceLock<T>
Expand description
Simple utility to create a thread-safe sync cell with a value set.
pub fn once_cell_set<T>(value: T) -> OnceLock<T>
Simple utility to create a thread-safe sync cell with a value set.