Skip to main content

MAX_ELEMENTS

Constant MAX_ELEMENTS 

Source
pub const MAX_ELEMENTS: usize = _; // 1_048_576usize
Expand description

Nothing enumerable is materialized beyond this many elements. The bound exists so a SUBSET or [S -> T] over an unexpectedly large set reports a limit instead of exhausting memory.