Skip to main content

NONE

Constant NONE 

Source
pub const NONE: u32 = u32::MAX; // 4_294_967_295u32
Expand description

No node.

u32::MAX rather than an Option<u32>, so that a ParseNode is twenty bytes and a tree of a hundred thousand nodes is two megabytes rather than four.