Skip to main content

OnceListWithLen

Type Alias OnceListWithLen 

Source
pub type OnceListWithLen<T, A = Global> = OnceListCore<T, A, WithLen<T, A>>;
Expand description

A OnceList variant with length caching enabled (O(1) len()).

Aliased Typeยง

pub struct OnceListWithLen<T, A = Global> { /* private fields */ }