Skip to main content

LazyLockNewWithValue

Type Alias LazyLockNewWithValue 

Source
pub type LazyLockNewWithValue<T, const N: usize> = LazyLock<Mutex<InterningTable<T>>, ExplicitClosure<fn() -> [T; N], Mutex<InterningTable<T>>>>;
Expand description

A type alias representing a lazily initialized Mutex<InterningTable<T>> backed by a fixed-size array initializer.

This is the return type of InterningTable::new_with_values.

Aliased Typeยง

pub struct LazyLockNewWithValue<T, const N: usize> { /* private fields */ }