pub fn width_for_labels(name: &str, type_label: &str) -> u32Expand description
Minimum port width (grid units) that comfortably fits the pin’s labels:
half the longer of name / type_label, floored at MIN_PORT_WIDTH.
pub fn width_for_labels(name: &str, type_label: &str) -> u32Minimum port width (grid units) that comfortably fits the pin’s labels:
half the longer of name / type_label, floored at MIN_PORT_WIDTH.