Skip to main content

MAX_LAYOUT_DEPTH

Constant MAX_LAYOUT_DEPTH 

Source
pub const MAX_LAYOUT_DEPTH: usize = 64;
Expand description

How deeply splits may nest in a layout: far more than any workspace has, few enough that reading a damaged or hostile layout cannot exhaust the stack. DockArea::layout keeps within it (deeper groups are saved as one), and reading refuses deeper text.