Skip to main content

MAX_EXPRESSION_DEPTH

Constant MAX_EXPRESSION_DEPTH 

Source
pub const MAX_EXPRESSION_DEPTH: usize = 64;
Expand description

Maximum nesting depth accepted by the raster-algebra expression parsers.

Expressions nesting more deeply than this are rejected with AlgorithmError::NestingTooDeep rather than being allowed to exhaust the thread stack. See the module documentation for how the value was derived.