Skip to main content

parse_auto_turn_cap

Function parse_auto_turn_cap 

Source
pub fn parse_auto_turn_cap(val: &str) -> Option<u32>
Expand description

Parse a events.auto_turn_cap value. Returns None on garbage.

Accepts a non-negative integer (0 = unlimited) or one of the aliases unlimited / inf / infinite / infinity / none (all → 0).