Skip to main content

node_width

Function node_width 

Source
pub fn node_width(node: &Regex) -> Width
Expand description

Build a Width from a parsed Regex node.

This is a thin wrapper — the computation is delegated to Regex::min_width and Regex::max_width.